Maven Build Goals:
clean 清除編譯,compile 編譯,test 編譯並測試,install 打包並發送到本地倉庫,package 只是打成jar包,並不會發送到本地倉庫
測試:
run as maven build..
goals 輸入 clean test
打包:
run as maven build..
goals 輸入 clean package
打包並發送到本地倉庫:
run as maven build..
goals 輸入 clean install
Maven Build Goals:
clean 清除編譯,compile 編譯,test 編譯並測試,install 打包並發送到本地倉庫,package 只是打成jar包,並不會發送到本地倉庫
測試:
run as maven build..
goals 輸入 clean test
打包:
run as maven build..
goals 輸入 clean package
打包並發送到本地倉庫:
run as maven build..
goals 輸入 clean install
本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。