diff --git a/maven-mboot2/src/main/java/SurefireBooter.java b/maven-mboot2/src/main/java/SurefireBooter.java index 11d9fd4519..b2e18f1c4c 100644 --- a/maven-mboot2/src/main/java/SurefireBooter.java +++ b/maven-mboot2/src/main/java/SurefireBooter.java @@ -157,7 +157,7 @@ public class SurefireBooter surefireBooter.addClassPathUrl( new File( mavenRepoLocal, "junit/jars/junit-3.8.1.jar" ).getPath() ); - surefireBooter.addClassPathUrl( new File( mavenRepoLocal, "surefire/jars/surefire-1.1.jar" ).getPath() ); + surefireBooter.addClassPathUrl( new File( mavenRepoLocal, "surefire/jars/surefire-1.2-SNAPSHOT.jar" ).getPath() ); surefireBooter.addClassPathUrl( new File( basedir, "target/classes/" ).getPath() ); diff --git a/maven-mboot2/src/main/java/SurefirePlugin.java b/maven-mboot2/src/main/java/SurefirePlugin.java index f61c527cd6..246befa791 100644 --- a/maven-mboot2/src/main/java/SurefirePlugin.java +++ b/maven-mboot2/src/main/java/SurefirePlugin.java @@ -20,7 +20,7 @@ public class SurefirePlugin surefireBooter.addClassPathUrl( new File( mavenRepoLocal, "junit/jars/junit-3.8.1.jar" ).getPath() ); - surefireBooter.addClassPathUrl( new File( mavenRepoLocal, "surefire/jars/surefire-1.1.jar" ).getPath() ); + surefireBooter.addClassPathUrl( new File( mavenRepoLocal, "surefire/jars/surefire-1.2-SNAPSHOT.jar" ).getPath() ); surefireBooter.addClassPathUrl( new File( classesDirectory ).getPath() );