第一天学习maven的问题解决Failed to execute goal org.apache.maven.plugins:maven-install-plugin:2.4:install 错误

今天第一天学习maven ,使用idea工具。执行install遇到如下问题

Failed to execute goal org.apache.maven.plugins:maven-install-plugin:2.4:install (default-cli) on project Hello: The packaging for this project did not assign a file to the build artifact
 

由于我的疏忽,选择执行,会报错===》》install (default-cli) on project Hello:

Plugins表示maven自带的插件,缺什么自己下载不用我们管理。

第一天学习maven的问题解决Failed to execute goal org.apache.maven.plugins:maven-install-plugin:2.4:install 错误

Lifecycle表示maven的生命周期,我能可以选择执行

可以直接使用上面 Lifecycle==>>>>install 就可以解决这个问题

第一天学习maven的问题解决Failed to execute goal org.apache.maven.plugins:maven-install-plugin:2.4:install 错误