Package net.ltgt.gwt.maven
Class AbstractAddSuperSourcesMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
net.ltgt.gwt.maven.AbstractAddSuperSourcesMojo
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
- Direct Known Subclasses:
AddSuperSourceMojo,AddTestSuperSourcesMojo
public abstract class AbstractAddSuperSourcesMojo
extends org.apache.maven.plugin.AbstractMojo
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected StringName of the module into which to optionally relocate super-sources.protected org.apache.maven.project.MavenProjectFields inherited from interface org.apache.maven.plugin.Mojo
ROLE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract voidaddResource(org.apache.maven.model.Resource resource) voidexecute()protected abstract List<org.apache.maven.model.Resource> protected abstract Stringprotected abstract booleanMethods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Field Details
-
moduleName
Name of the module into which to optionally relocate super-sources.Super-sources will be relocated into a
supersubfolder. -
project
@Parameter(defaultValue="${project}", required=true, readonly=true) protected org.apache.maven.project.MavenProject project
-
-
Constructor Details
-
AbstractAddSuperSourcesMojo
public AbstractAddSuperSourcesMojo()
-
-
Method Details
-
execute
public void execute() throws org.apache.maven.plugin.MojoExecutionException- Throws:
org.apache.maven.plugin.MojoExecutionException
-
getSuperSourceRoot
-
isSuperSourceRelocated
protected abstract boolean isSuperSourceRelocated() -
addResource
protected abstract void addResource(org.apache.maven.model.Resource resource) -
getProjectResources
-