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

前端 未结 8 1570
误落风尘
误落风尘 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:45

    This error shows up when using the maven-install-plugin version 3.0.0-M1 (or similar)

    As already mentioned above and also here the following plug-in version works:

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

提交回复
热议问题