maven打包install保存The packaging for this project did not assign a file to the build artifact

如果使用Plugins下面的install會報下面這個錯誤,說找不到這個打包插件。使用lifecycle下面的install問題得到解決。lifecycle是maven中一個十分完善的生命週期模型,所以使用Lifecycle中的install項目就會自動去maven倉庫下載需要的包。
相關文章
相關標籤/搜索