Failed to execute goal org.apache.maven.plugins:maven-install-plugin:2.5.2:install (default-cli) 的解决
今天通过IDEA进行maven的install操作,报了以下错误Failed to execute goal org.apache.maven.plugins:maven-install-plugin:2.5.2:install (default-cli) on project xxxxxx: The packaging for this project did not assign a file
·
今天通过IDEA进行maven的install操作,报了以下错误
Failed to execute goal org.apache.maven.plugins:maven-install-plugin:2.5.2:install (default-cli) on project xxxxxx: The packaging for this project did not assign a file to the build artifact
xxxxxx是我的项目名称
把项目清了重试,和在网上找了很多方法都没用,而用eclipse和命令mvn install却是可以的。
后来发现,原来是要用Lifecycle下的install才有效
参考:https://blog.csdn.net/Camellia919/article/details/81190450
更多推荐
已为社区贡献3条内容
所有评论(0)