o update plugins to take advantage of the new default values in the super

model provided by maven-core.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162757 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Jason van Zyl 2004-06-14 23:22:47 +00:00
parent 944b65451b
commit b5ce0c41c3
5 changed files with 5 additions and 13 deletions

View File

@ -25,7 +25,7 @@ import java.util.List;
* type="String"
* required="true"
* validator=""
* expression="#project.build.directory/classes"
* expression="#project.build.output"
* description=""
* @parameter
* name="classpathElements"
@ -57,16 +57,10 @@ public class CompilerMojo
String sourceDirectory = (String) request.getParameter( "sourceDirectory" );
System.out.println( "sourceDirectory = " + sourceDirectory );
String outputDirectory = (String) request.getParameter( "outputDirectory" );
System.out.println( "outputDirectory = " + outputDirectory );
String[] classpathElements = (String[]) request.getParameter( "classpathElements" );
String compilerId = (String) request.getParameter( "compiler" );
// ----------------------------------------------------------------------
//
// ----------------------------------------------------------------------

View File

@ -25,7 +25,7 @@ import java.util.List;
* type="String"
* required="true"
* validator=""
* expression="#project.build.directory/test-classes"
* expression="#project.build.testOutput"
* description=""
* @parameter
* name="classpathElements"
@ -40,7 +40,6 @@ import java.util.List;
* @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
{

View File

@ -57,7 +57,7 @@ import java.util.jar.Manifest;
* type="String"
* required="true"
* validator=""
* expression="#project.build.directory/classes"
* expression="#project.build.output"
* description=""
*
* @author <a href="michal.maczka@dimatics.com">Michal Maczka</a>

View File

@ -42,7 +42,7 @@ import java.util.List;
* type="String"
* required="true"
* validator=""
* expression="#project.build.directory/classes"
* expression="#project.build.output"
* description=""
* @parameter
* name="resources"

View File

@ -17,7 +17,6 @@ package org.apache.maven.plugin.resources;
* ====================================================================
*/
import org.apache.maven.model.Resource;
import org.codehaus.plexus.util.FileUtils;
@ -39,7 +38,7 @@ import java.util.List;
* type="String"
* required="true"
* validator=""
* expression="#project.build.directory/test-classes"
* expression="#project.build.testOutput"
* description=""
* @parameter
* name="resources"