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:
- ContextEnabled, Mojo, GwtModuleReader
- Direct Known Subclasses:
- AbstractGwtShellMojo, EclipseMojo, GwtCleanMojo, GwtResourcesMojo, GwtSourcesJarMojo, SdkInstallMojo
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: AbstractGwtModuleMojo.java 13196 2010-11-25 16:39:40Z olamy $
- Author:
- Nicolas De Loof
Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
Methods inherited from class org.codehaus.mojo.gwt.AbstractGwtMojo |
addClasspathElements, getClasspath, getGenerateDirectory, getGwtDevJar, getGwtUserJar, getLocalRepository, getOutputDirectory, getProject, getProjectArtifacts, getRemoteRepositories, resolve |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.maven.plugin.Mojo |
execute |
GWT_MODULE_EXTENSION
public static final String GWT_MODULE_EXTENSION
- Deprecated. use
DefaultGwtModuleReader.GWT_MODULE_EXTENSION
- See Also:
- Constant Field Values
AbstractGwtModuleMojo
public AbstractGwtModuleMojo()
getGwtModules
public List<String> getGwtModules()
- Specified by:
getGwtModules
in interface GwtModuleReader
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:
readModule
in interface GwtModuleReader
- Throws:
GwtModuleReaderException
addCompileSourceRoot
protected void addCompileSourceRoot(File path)
- Overrides:
addCompileSourceRoot
in class AbstractGwtMojo
- Parameters:
path
- file to add to the project compile directories
Copyright © 2007-2012 Codehaus. All Rights Reserved.