Package org.codehaus.mojo.gwt
Class AbstractGwtModuleMojo
- java.lang.Object
-
- org.apache.maven.plugin.AbstractMojo
-
- org.codehaus.mojo.gwt.AbstractGwtMojo
-
- org.codehaus.mojo.gwt.AbstractGwtModuleMojo
-
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo,GwtModuleReader
- Direct Known Subclasses:
AbstractGwtShellMojo,EclipseMojo,GwtCleanMojo,GwtResourcesMojo,GwtSourcesJarMojo
public abstract class AbstractGwtModuleMojo extends AbstractGwtMojo implements GwtModuleReader
Add support for GWT Modules.Search and read the gwt.xml module files to detect project structure.
- Version:
- $Id$
- Author:
- Nicolas De Loof
-
-
Field Summary
-
Fields inherited from class org.codehaus.mojo.gwt.AbstractGwtMojo
artifactFactory, artifactMetadataSource, classpathBuilder, GWT_GROUP_ID, gwtSdkFirstInClasspath, localRepository, modulePathPrefix, remoteRepositories, resolver, VAADIN_GROUP_ID, warSourceDirectory
-
-
Constructor Summary
Constructors Constructor Description AbstractGwtModuleMojo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<java.lang.String>getGwtModules()java.lang.String[]getModules()Return the configured modules or scan the project source/resources folder to find themGwtModulereadModule(java.lang.String name)-
Methods inherited from class org.codehaus.mojo.gwt.AbstractGwtMojo
addClasspathElements, addCompileSourceRoot, getArtifact, getClasspath, getGenerateDirectory, getGwtDevJar, getGwtUserJar, getJarAndDependencies, getLocalRepository, getOutputDirectory, getProject, getProjectArtifacts, getProjectRuntimeArtifacts, getRemoteRepositories, isGenerator, resolve, setupGenerateDirectory
-
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
-
-
-
Method Detail
-
getGwtModules
public java.util.List<java.lang.String> getGwtModules()
- Specified by:
getGwtModulesin interfaceGwtModuleReader
-
getModules
public java.lang.String[] getModules()
Return the configured modules or scan the project source/resources folder to find them- Returns:
- the modules
-
readModule
public GwtModule readModule(java.lang.String name) throws GwtModuleReaderException
- Specified by:
readModulein interfaceGwtModuleReader- Throws:
GwtModuleReaderException
-
-