升级整个项目的版本号
1 | mvn versions:set -DnewVersion=1.0.1-SNAPSHOT |
将所有依赖打成一个jar
1 | <build> |
拷贝依赖文件到lib
1 | <build> |
选择 profile 跑不同的单元测试
1 | <profiles> |
1 | <plugin> |
- when you run mvn clean test -Presource-tests, only the classes matching */ResourceTest.java will be tested
- when you run mvn clean test -Ptask-tests, only the classes matching */TaskTest.java will be tested