compile based on source roots for test mojo too

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163424 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Brett Leslie Porter 2005-02-27 22:23:27 +00:00
parent 21f1cffa59
commit 7549992577
1 changed files with 4 additions and 13 deletions

View File

@ -1,27 +1,20 @@
package org.apache.maven.plugin;
import org.codehaus.plexus.compiler.Compiler;
import org.codehaus.plexus.compiler.CompilerError;
import org.codehaus.plexus.compiler.javac.JavacCompiler;
import java.io.File;
import java.util.Iterator;
import java.util.List;
/**
* @goal testCompile
*
* @description Compiles test sources
*
* @prereq compiler:compile
*
* @parameter
* name="sourceDirectory"
* type="String"
* name="compileSourceRootsList"
* type="java.util.List"
* required="true"
* validator=""
* expression="#project.build.unitTestSourceDirectory"
* expression="#project.testCompileSourceRootsList"
* description=""
*
* @parameter
* name="outputDirectory"
* type="String"
@ -46,8 +39,6 @@ import java.util.List;
*
* @author <a href="mailto:jason@maven.org">Jason van Zyl</a>
* @version $Id$
* @todo use compile source roots and not the pom.build.sourceDirectory so that any
* sort of preprocessing and/or source generation can be taken into consideration.
*/
public class TestCompilerMojo
extends CompilerMojo