I\'ve a Maven build in which I use the SureFire plugin to run some unit tests, and the FailSafe plugin to run some integration tests. I would like a way to run just the Fai
A workaround would be to call:
mvn clean test-compile failsafe:integration-test
Admittedly, this is ugly, but it may solve your problem.
Or (another hack):
mvn clean integration-test -Dtest=SomePatternThatDoesntMatchAnything -DfailIfNoTests=false
Reference: