本文介绍: 今天通过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 artifactxxxxxx是我的项目名称把项目清了重试,和在网上找了很多方法
今天通过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
把项目清了重试,和在网上找了很多方法都没用,而用eclipse和命令mvn install却是可以的。
后来发现,原来是要用Lifecycle下的install才有效
声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。