Maven: The packaging for this project did not assign a file to the build artifact

前端 未结 8 1597
误落风尘
误落风尘 2020-11-30 18:25

I\'m using Maven 3.0.3 on Mac 10.6.6. I have a JAR project and when I run the command \"mvn clean install:install\", I\'m getting the error,

[ERROR] Failed         


        
8条回答
  •  余生分开走
    2020-11-30 18:46

    I had the same issue but I executed mvn install initially (not install:install as it was mentioned earlier).

    The solution is to include:

     
            org.apache.maven.plugins
            maven-install-plugin
            2.5.2
     
    

    Into plugin management section.

提交回复
热议问题