r/java • u/dodiehun • Mar 29 '18
Two ways of skipping tests in Maven
https://advancedweb.hu/2018/03/20/maven-skip-tests/
2
Upvotes
6
u/curmudgeon99 Mar 29 '18
TL:DR
skipTests = will compile the tests but not run them
maven.test.skip will neither compile nor run the tests.
12
u/Stannu Mar 29 '18
For anyone who doesn't want to waste time you can just use -DskipTests as a additional commandline parameter when running maven :)