From 473d99609ce2702c9d4a8b65560667eb2ad2b47c Mon Sep 17 00:00:00 2001 From: Brett Leslie Porter Date: Wed, 20 Jul 2005 09:53:29 +0000 Subject: [PATCH] use new surefire git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@219874 13f79535-47bb-0310-9956-ffa450edef68 --- maven-mboot2/src/main/java/test/SurefirePlugin.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/maven-mboot2/src/main/java/test/SurefirePlugin.java b/maven-mboot2/src/main/java/test/SurefirePlugin.java index a2afff1d1e..ba7a88be15 100644 --- a/maven-mboot2/src/main/java/test/SurefirePlugin.java +++ b/maven-mboot2/src/main/java/test/SurefirePlugin.java @@ -1,5 +1,6 @@ package test; +import java.io.File; import java.util.Iterator; import java.util.List; @@ -14,7 +15,7 @@ public class SurefirePlugin SurefireBooter surefireBooter = new SurefireBooter(); surefireBooter.addBattery( "org.codehaus.surefire.battery.DirectoryBattery", - new Object[]{basedir, includes, excludes} ); + new Object[]{new File( basedir, "target/test-classes" ), includes, excludes} ); for ( Iterator i = classpathElements.iterator(); i.hasNext(); ) {