mirror of https://github.com/apache/maven.git
[MNG-510]. Fix classpath order.
Thanks to Kenney Westerhof git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@193164 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
a66df4b205
commit
70a13f3f56
|
@ -8,7 +8,7 @@
|
|||
<artifactId>maven-surefire-plugin</artifactId>
|
||||
<packaging>maven-plugin</packaging>
|
||||
<name>Maven Surefire Plugin</name>
|
||||
<version>2.0-alpha-3</version>
|
||||
<version>2.0-alpha-4-SNAPSHOT</version>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>org.apache.maven</groupId>
|
||||
|
|
|
@ -193,16 +193,17 @@ public class SurefirePlugin
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
surefireBooter.addClassPathUrl( new File( classesDirectory ).getPath() );
|
||||
|
||||
surefireBooter.addClassPathUrl( new File( testClassesDirectory ).getPath() );
|
||||
|
||||
for ( Iterator i = pluginArtifacts.iterator(); i.hasNext(); )
|
||||
{
|
||||
Artifact artifact = (Artifact) i.next();
|
||||
surefireBooter.addClassPathUrl( artifact.getFile().getAbsolutePath() );
|
||||
}
|
||||
|
||||
surefireBooter.addClassPathUrl( new File( classesDirectory ).getPath() );
|
||||
|
||||
surefireBooter.addClassPathUrl( new File( testClassesDirectory ).getPath() );
|
||||
|
||||
for ( Iterator i = classpathElements.iterator(); i.hasNext(); )
|
||||
{
|
||||
surefireBooter.addClassPathUrl( (String) i.next() );
|
||||
|
|
Loading…
Reference in New Issue