1.打包,包含进行单元测试
mvn install
2.打包,跳过单元测试
mvn install -Dmaven.test.skip
3.生成source
mvn source:jar
4.生成jar和souce.jar
mvn clean install source:jar -Dmaven.test.skip
mvn install
mvn install -Dmaven.test.skip
mvn source:jar
mvn clean install source:jar -Dmaven.test.skip