Skipping tests with Maven
Publié le 21/02/2008, par Eric Lefevre-Ardant dans Uncategorized | Comments Off
The Maven Surefire page explains that -DskipTests and -Dmaven.test.skip=true can both be used to avoid running tests. If you use an old-ish version of Surefire (pre-2.4) or even if you use the latest version (2.4.2 as of February 21th, 2008), there are a couple of things you need to know.