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
————————————————
版权声明:本文为CSDN博主「一路奔跑1314」的原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接及本声明。
原文链接:https://blog.csdn.net/dhklsl/article/details/78039224