Eclipse中 Run as --->Maven build 命令详解

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

你可能感兴趣的:(Eclipse中 Run as --->Maven build 命令详解)