Just to be explicit:
skipTests will compile everything in <testSourceDirectory> , but will not execute them.
maven.test.skip will NOT compile any tests, but WILL will execute any compiled tests that <testOutputDirectory> into <testOutputDirectory> .
Thus, the behavior of the above 2 is the opposite. Just wanted to indicate that maven.test.skip does not skip compilation and execution if the test files are unpacked / copied / etc. in <testOutputDirectory> .
In addition, depending on which version of Maven you are using, also maven.test.skip.exec=true , which additionally skips test execution similar to skipTests.
johntrepreneur Jun 25 '12 at 18:37 2012-06-25 18:37
source share