Description
Currently the surefire plugin configuration defines the following exclusion:
. <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <configuration> <forkMode>always</forkMode> <includes> <include>**/Test*.java</include> </includes> <excludes> <exclude>**/*$*</exclude> </excludes> </configuration> </plugin>
AFAICT the '**/*$*' does not resolve to anything meaningful.
Adding support to exclude one or more tests via Maven property, i.e. '-Dtest.exclude=<TESTCLASS>' would be useful.