[
http://jira.codehaus.org/browse/SUREFIRE-515?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=145238#action_145238
]
Thomas Diesler commented on SUREFIRE-515:
-----------------------------------------
Workarround
<exclude>org/jboss/bpm/pattern/**/*Task?.java</exclude>
> Executes nested classes that are not tests
> ------------------------------------------
>
> Key: SUREFIRE-515
> URL: http://jira.codehaus.org/browse/SUREFIRE-515
> Project: Maven Surefire
> Issue Type: Bug
> Affects Versions: 2.4.3
> Reporter: Thomas Diesler
>
> When using excludes like this
> <plugin>
> <artifactId>maven-surefire-plugin</artifactId>
> <configuration>
> <excludes>
> <exclude>org/jboss/bpm/pattern/**/*APITest.java</exclude>
> </excludes>
> <includes>
> <include>org/jboss/bpm/pattern/**</include>
> </includes>
> </configuration>
> </plugin>
> surefire executes the nested classes
> Running
> org.jboss.bpm.pattern.control.synchronization.SynchronizationTest$TaskB
> Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec
> Running
> org.jboss.bpm.pattern.control.synchronization.SynchronizationTest$TaskC
> Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira