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 AbstractAddSuperSourcesMojoAdd 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
supersubfolder.
-
-
Field Summary
-
Fields inherited from class net.ltgt.gwt.maven.AbstractAddSuperSourcesMojo
moduleName, project
-
-
Constructor Summary
Constructors Constructor Description AddSuperSourceMojo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidaddResource(org.apache.maven.model.Resource resource)protected java.util.List<org.apache.maven.model.Resource>getProjectResources()protected java.lang.StringgetSuperSourceRoot()protected booleanisSuperSourceRelocated()-
Methods inherited from class net.ltgt.gwt.maven.AbstractAddSuperSourcesMojo
execute
-
-
-
-
Method Detail
-
getSuperSourceRoot
protected java.lang.String 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
protected java.util.List<org.apache.maven.model.Resource> getProjectResources()
- Specified by:
getProjectResourcesin classAbstractAddSuperSourcesMojo
-
-