Am 19.01.2012 22:39, schrieb Nord, James:
> I tried mvn -DskipTests=true -DskipITs=false verify but also this is skipping
> both surefire and failsafe
It does so because both plugins support a property named skipTests. If
you set it to false on the command line, both will assume they should
not run any tests.
Configuring m-surefire-plugin using
<skipTests>${skipUnitTests}</skipTests> in its <configuration> section
and setting -DskipUnitTests=true on the maven command line should give
you the desired behaviour.
HTH
Ansgar
*<http://maven.apache.org/plugins/maven-failsafe-plugin/integration-test-mojo.html#skipTests>*