Browse Source

Cleanup configuration of Maven JUnit runner

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
Shawn O. Pearce 13 years ago
parent
commit
b7f887f120
2 changed files with 6 additions and 4 deletions
  1. 0
    4
      org.eclipse.jgit.test/pom.xml
  2. 6
    0
      pom.xml

+ 0
- 4
org.eclipse.jgit.test/pom.xml View File

@@ -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>

+ 6
- 0
pom.xml View File

@@ -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>

Loading…
Cancel
Save