1、编译
mvn compile
2、测试
运行测试类
mvn test
编译测试类
mvn test-compile
3、打包安装
mvn install
4、打包源码
mvn source:jar
mvn source:test-jar
5、清除输出
mvn clean
1、编译
mvn compile
2、测试
运行测试类
mvn test
编译测试类
mvn test-compile
3、打包安装
mvn install
4、打包源码
mvn source:jar
mvn source:test-jar
5、清除输出
mvn clean