Add junit to test compiler

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162886 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Emmanuel Venisse 2004-07-27 11:13:06 +00:00
parent 67c840afce
commit 9ff9843c28
1 changed files with 13 additions and 1 deletions

View File

@ -428,7 +428,19 @@ public class MBoot
System.out.println( "Compiling test sources ..." );
compile( reader.getDependencies(), testSources, testClasses, basedir + "/target/classes", null );
List testDependencies = reader.getDependencies();
Dependency junitDep = new Dependency();
junitDep.setGroupId( "junit" );
junitDep.setArtifactId( "junit" );
junitDep.setVersion( "3.8.1" );
testDependencies.add( junitDep );
compile( testDependencies, testSources, testClasses, basedir + "/target/classes", null );
// ----------------------------------------------------------------------
// Test resources