maven-m2-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From br...@apache.org
Subject cvs commit: maven-components/maven-plugins/maven-compiler-plugin/src/main/java/org/apache/maven/plugin TestCompilerMojo.java
Date Sun, 27 Feb 2005 22:23:27 GMT
brett       2005/02/27 14:23:27

  Modified:    maven-plugins/maven-compiler-plugin/src/main/java/org/apache/maven/plugin
                        TestCompilerMojo.java
  Log:
  compile based on source roots for test mojo too
  
  Revision  Changes    Path
  1.6       +5 -14     maven-components/maven-plugins/maven-compiler-plugin/src/main/java/org/apache/maven/plugin/TestCompilerMojo.java
  
  Index: TestCompilerMojo.java
  ===================================================================
  RCS file: /home/cvs/maven-components/maven-plugins/maven-compiler-plugin/src/main/java/org/apache/maven/plugin/TestCompilerMojo.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- TestCompilerMojo.java	14 Jan 2005 21:36:17 -0000	1.5
  +++ TestCompilerMojo.java	27 Feb 2005 22:23:27 -0000	1.6
  @@ -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 @@
    *
    * @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
  
  
  

Mime
View raw message