mirror of https://github.com/apache/maven.git
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:
parent
729588ee89
commit
473d99609c
|
@ -1,5 +1,6 @@
|
||||||
package test;
|
package test;
|
||||||
|
|
||||||
|
import java.io.File;
|
||||||
import java.util.Iterator;
|
import java.util.Iterator;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
|
@ -14,7 +15,7 @@ public class SurefirePlugin
|
||||||
SurefireBooter surefireBooter = new SurefireBooter();
|
SurefireBooter surefireBooter = new SurefireBooter();
|
||||||
|
|
||||||
surefireBooter.addBattery( "org.codehaus.surefire.battery.DirectoryBattery",
|
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(); )
|
for ( Iterator i = classpathElements.iterator(); i.hasNext(); )
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue