mirror of https://github.com/apache/maven.git
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:
parent
67c840afce
commit
9ff9843c28
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue