Package org.codehaus.mojo.buildhelper
Class AddTestSourceMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.codehaus.mojo.buildhelper.AddTestSourceMojo
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled
,org.apache.maven.plugin.Mojo
@Mojo(name="add-test-source",
defaultPhase=GENERATE_TEST_SOURCES,
threadSafe=true)
public class AddTestSourceMojo
extends org.apache.maven.plugin.AbstractMojo
Add test source directories to the POM.
- Since:
- 1.0
- Version:
- $Id$
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate org.apache.maven.project.MavenProject
private File[]
Additional test source directories.Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Field Details
-
sources
Additional test source directories.- Since:
- 1.0
-
project
@Parameter(readonly=true, defaultValue="${project}") private org.apache.maven.project.MavenProject project- Since:
- 1.0
-
-
Constructor Details
-
AddTestSourceMojo
public AddTestSourceMojo()
-
-
Method Details
-
execute
public void execute()
-