use new surefire

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@219874 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Brett Leslie Porter 2005-07-20 09:53:29 +00:00
parent 729588ee89
commit 473d99609c
1 changed files with 2 additions and 1 deletions

View File

@ -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(); )
{