From b7f887f1204fc14e2ef698d6d4a24d13fa6de5e6 Mon Sep 17 00:00:00 2001 From: "Shawn O. Pearce" Date: Sun, 2 Jan 2011 14:35:04 -0800 Subject: [PATCH] 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 --- org.eclipse.jgit.test/pom.xml | 4 ---- pom.xml | 6 ++++++ 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/org.eclipse.jgit.test/pom.xml b/org.eclipse.jgit.test/pom.xml index 395fb9a67..95ae17f49 100644 --- a/org.eclipse.jgit.test/pom.xml +++ b/org.eclipse.jgit.test/pom.xml @@ -124,12 +124,8 @@ maven-surefire-plugin - 2.4.2 -Xmx256m -Dfile.encoding=UTF-8 - - **/*Test.java - diff --git a/pom.xml b/pom.xml index b05aaa959..b6717684c 100644 --- a/pom.xml +++ b/pom.xml @@ -207,6 +207,12 @@ 2.7 + + org.apache.maven.plugins + maven-surefire-plugin + 2.4.2 + + org.codehaus.mojo build-helper-maven-plugin