surefire issues

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163756 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Brett Leslie Porter 2005-04-04 05:41:57 +00:00
parent 54a8cea863
commit 15dc3811c8
2 changed files with 3 additions and 7 deletions

View File

@ -286,7 +286,7 @@ public class MBoot
for ( Iterator i = reader.getDependencies().iterator(); i.hasNext(); ) for ( Iterator i = reader.getDependencies().iterator(); i.hasNext(); )
{ {
Dependency d = (Dependency) i.next(); Dependency d = (Dependency) i.next();
if ( d.getGroupId().equals( "surefire" ) ) if ( d.getGroupId().equals( "surefire" ) || d.getGroupId().equals( "junit" ) )
{ {
surefireDependencies.add( d ); surefireDependencies.add( d );
} }

View File

@ -13,16 +13,12 @@
<dependency> <dependency>
<groupId>surefire</groupId> <groupId>surefire</groupId>
<artifactId>surefire</artifactId> <artifactId>surefire</artifactId>
<version>1.2-SNAPSHOT</version> <version>1.2</version>
<type>jar</type>
<scope>compile</scope>
</dependency> </dependency>
<dependency> <dependency>
<groupId>surefire</groupId> <groupId>surefire</groupId>
<artifactId>surefire-booter</artifactId> <artifactId>surefire-booter</artifactId>
<version>1.2-SNAPSHOT</version> <version>1.2</version>
<type>jar</type>
<scope>compile</scope>
</dependency> </dependency>
<dependency> <dependency>
<groupId>junit</groupId> <groupId>junit</groupId>