From e5c7f6b808c465c029835e186d7617092db167ff Mon Sep 17 00:00:00 2001 From: Jason van Zyl Date: Tue, 22 Jun 2004 17:03:45 +0000 Subject: [PATCH] o the classes directories are now aligned so the basedir is not needed. git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162829 13f79535-47bb-0310-9956-ffa450edef68 --- .../src/main/java/org/apache/maven/test/SurefirePlugin.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/maven-plugins/maven-surefire-plugin/src/main/java/org/apache/maven/test/SurefirePlugin.java b/maven-plugins/maven-surefire-plugin/src/main/java/org/apache/maven/test/SurefirePlugin.java index 6ef7c5fd1c..dd9e0b367a 100644 --- a/maven-plugins/maven-surefire-plugin/src/main/java/org/apache/maven/test/SurefirePlugin.java +++ b/maven-plugins/maven-surefire-plugin/src/main/java/org/apache/maven/test/SurefirePlugin.java @@ -112,9 +112,9 @@ public class SurefirePlugin surefireBooter.addClassPathUrl( new File( mavenRepoLocal, "surefire/jars/surefire-1.0.jar" ).getPath() ); - surefireBooter.addClassPathUrl( new File( basedir, classesDirectory ).getPath() ); + surefireBooter.addClassPathUrl( new File( classesDirectory ).getPath() ); - surefireBooter.addClassPathUrl( new File( basedir, testClassesDirectory ).getPath() ); + surefireBooter.addClassPathUrl( new File( testClassesDirectory ).getPath() ); for ( int i = 0; i < classpathElements.length; i++ ) {