Package net.ltgt.gwt.maven
Class AddSuperSourceMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
net.ltgt.gwt.maven.AbstractAddSuperSourcesMojo
net.ltgt.gwt.maven.AddSuperSourceMojo
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
@Mojo(name="add-super-sources",
defaultPhase=INITIALIZE,
threadSafe=true)
public class AddSuperSourceMojo
extends AbstractAddSuperSourcesMojo
Add super-source directory to project resources.
The super-source directory contains emulated classes for GWT.
Super-sources in GWT need to be in a subdirectory of the GWT module,
and you can automatically relocate the super-source content within a super subfolder.
-
Field Summary
Fields inherited from class net.ltgt.gwt.maven.AbstractAddSuperSourcesMojo
moduleName, projectFields inherited from interface org.apache.maven.plugin.Mojo
ROLE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddResource(org.apache.maven.model.Resource resource) protected List<org.apache.maven.model.Resource> protected Stringprotected booleanMethods inherited from class net.ltgt.gwt.maven.AbstractAddSuperSourcesMojo
executeMethods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Constructor Details
-
AddSuperSourceMojo
public AddSuperSourceMojo()
-
-
Method Details
-
getSuperSourceRoot
- Specified by:
getSuperSourceRootin classAbstractAddSuperSourcesMojo
-
isSuperSourceRelocated
protected boolean isSuperSourceRelocated()- Specified by:
isSuperSourceRelocatedin classAbstractAddSuperSourcesMojo
-
addResource
protected void addResource(org.apache.maven.model.Resource resource) - Specified by:
addResourcein classAbstractAddSuperSourcesMojo
-
getProjectResources
- Specified by:
getProjectResourcesin classAbstractAddSuperSourcesMojo
-