Build and execute tests from all the sub modules
- mvn clean install
Build and execute tests from a specific sub module
- mvn clean install -pl <module-name> -am
Build and execute a specific test from a specific sub module
- mvn -DfailIfNoTests=false -Dtest=<test-class-name> clean install -pl <module-name> -am
- mvn -DfailIfNoTests=false -Dtest=<test-class-name#test-method-name> clean install -pl <module-name> -am
No comments:
Post a Comment