Needed to exclude the non-test class named to match the test runners default
inclusion list.
http://maven.apache.org/plugins/maven-surefire-plugin/examples/inclusion-exclusion.html
Dieser Commit ist enthalten in:
Rusty Burchfield 2011-12-25 13:41:45 -08:00 committet von zml2008
Ursprung c914432e9a
Commit 05125c496e

11
pom.xml
Datei anzeigen

@ -178,6 +178,17 @@
<goals>assembly:assembly</goals>
</configuration>
</plugin>
<!-- Exclude non-tests -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<excludes>
<exclude>**/TestOfflinePermissible.java</exclude>
</excludes>
</configuration>
</plugin>
</plugins>
</build>
</project>