From 15dc3811c87b4aefa696cabaffade1a4b7462b11 Mon Sep 17 00:00:00 2001 From: Brett Leslie Porter Date: Mon, 4 Apr 2005 05:41:57 +0000 Subject: [PATCH] surefire issues git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163756 13f79535-47bb-0310-9956-ffa450edef68 --- maven-mboot2/src/main/java/MBoot.java | 2 +- maven-plugins/maven-surefire-plugin/pom.xml | 8 ++------ 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/maven-mboot2/src/main/java/MBoot.java b/maven-mboot2/src/main/java/MBoot.java index 2543ed0757..3b80679081 100644 --- a/maven-mboot2/src/main/java/MBoot.java +++ b/maven-mboot2/src/main/java/MBoot.java @@ -286,7 +286,7 @@ public class MBoot for ( Iterator i = reader.getDependencies().iterator(); i.hasNext(); ) { Dependency d = (Dependency) i.next(); - if ( d.getGroupId().equals( "surefire" ) ) + if ( d.getGroupId().equals( "surefire" ) || d.getGroupId().equals( "junit" ) ) { surefireDependencies.add( d ); } diff --git a/maven-plugins/maven-surefire-plugin/pom.xml b/maven-plugins/maven-surefire-plugin/pom.xml index 71da6493e0..ee1659d78e 100644 --- a/maven-plugins/maven-surefire-plugin/pom.xml +++ b/maven-plugins/maven-surefire-plugin/pom.xml @@ -13,16 +13,12 @@ surefire surefire - 1.2-SNAPSHOT - jar - compile + 1.2 surefire surefire-booter - 1.2-SNAPSHOT - jar - compile + 1.2 junit