當進行mvn install時,遇到以下錯誤
The packaging for this project did not assign a file to the build artifact
在網上找了一下,使用mvn clean install 解決了問題。
在網上看到了一個帖子“mvn clean install”和“mvn clean install:install”的不同,有空看看。
http://stackoverflow.com/questions/6308162/maven-the-packaging-for-this-project-did-not-assign-a-file-to-the-build-artifac