-
Notifications
You must be signed in to change notification settings - Fork 3
Maven Tricks
Carsten Stocklöw edited this page May 30, 2015
·
1 revision
It is not recommended to disable local testing, but if you wish to save some minutes out of your building time here is how.
There are two options:
- run maven with "-Dmaven.test.skip=true" option. Perfect when you need just once to skip the testing.
mvn -Dmaven.test.skip=true install
- To disable all local testing, add the following to your .m2/settings.xml:
<settings ...> <profiles> ... <profile> ... <properties> <maven.test.skip>true</maven.test.skip> </properties> </profile> </profiles> </settings>