Hi
We had some problems with JUnit tests where the test class
has an inner class.
Suppose you have a test class - e.g. TestDummy - which has
a inner class named InnerDummy. This will produce two classes
in taget/test-classe named TestDummy.class and
TestDummy$InnerDummy.class
the sure fire plugin believes that the inner class is also a test class
and subsequently tries to execute that test, which gives us an error.
The workaround is conmfiguring the plugin not to execute test classes:
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<skip>false</skip>
<excludes>
<exclude>**/Test*$*</exclude>
</excludes>
</configuration>
</plugin>
I think this should be the default config though...
Kind regards
Georges Polyzois
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]