Something like the following.
I would like a way to skip my dao tests in surefire. Trying to avoid overhead of defining Suites.
With CI I\'d like to have on
Sure, no problem:
org.apache.maven.plugins
maven-surefire-plugin
2.6
**/*Dao*.java
**/dao/*.java
Reference:
(The excludes can not be configured via command line, so if you want to turn this behavior on conditionally, you will have to define a profile and activate that on the command line)