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_DEV, GWT_GROUP_ID, GWT_USER, gwtSdkFirstInClasspath, localRepository, modulePathPrefix, remoteRepositories, resolver, session, warSourceDirectory
-
-
Constructor Summary
Constructors Constructor Description AbstractGwtModuleMojo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>getGwtModules()String[]getModules()Return the configured modules or scan the project source/resources folder to find themGwtModulereadModule(String name)-
Methods inherited from class org.codehaus.mojo.gwt.AbstractGwtMojo
addClasspathElements, addCompileSourceRoot, getClasspath, getGenerateDirectory, getGwtDevJar, getGwtUserJar, getJarFiles, 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 List<String> getGwtModules()
- Specified by:
getGwtModulesin interfaceGwtModuleReader
-
getModules
public String[] getModules()
Return the configured modules or scan the project source/resources folder to find them- Returns:
- the modules
-
readModule
public GwtModule readModule(String name) throws GwtModuleReaderException
- Specified by:
readModulein interfaceGwtModuleReader- Throws:
GwtModuleReaderException
-
-