Set the plugin version in the top-level pom, not the unit test pom. This ensures the same plugin is used for all JUnit tests within the overall project. Drop the include **/*Test.java definition, as its no longer necessary with the JUnit 4 based test suite. All of the test classes now end with "Test" and include @Test annotations on the test methods. Change-Id: Ib2c180bf531e1a97e31979fcc281fa0fc5a1abb3 Signed-off-by: Shawn O. Pearce <spearce@spearce.org>tags/v0.11.1
@@ -124,12 +124,8 @@ | |||
<plugins> | |||
<plugin> | |||
<artifactId>maven-surefire-plugin</artifactId> | |||
<version>2.4.2</version> | |||
<configuration> | |||
<argLine>-Xmx256m -Dfile.encoding=UTF-8</argLine> | |||
<includes> | |||
<include>**/*Test.java</include> | |||
</includes> | |||
</configuration> | |||
</plugin> | |||
</plugins> |
@@ -207,6 +207,12 @@ | |||
<version>2.7</version> | |||
</plugin> | |||
<plugin> | |||
<groupId>org.apache.maven.plugins</groupId> | |||
<artifactId>maven-surefire-plugin</artifactId> | |||
<version>2.4.2</version> | |||
</plugin> | |||
<plugin> | |||
<groupId>org.codehaus.mojo</groupId> | |||
<artifactId>build-helper-maven-plugin</artifactId> |