org.codehaus.mojo.gwt
Class GwtResourcesMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.codehaus.mojo.gwt.AbstractGwtMojo
org.codehaus.mojo.gwt.AbstractGwtModuleMojo
org.codehaus.mojo.gwt.GwtResourcesMojo
- All Implemented Interfaces:
- ContextEnabled, Mojo, GwtModuleReader
public class GwtResourcesMojo
- extends AbstractGwtModuleMojo
Copy GWT java source code and module descriptor as resources in the build
outputDirectory. Alternative to declaring a <resource> in the POM with finer
filtering as the module descriptor is read to detect sources to be copied.
- Author:
- Nicolas De Loof
- Is bound to the specified phase of the standard build lifecycle:
- process-resources
- Is defined by the goal name:
- resources
Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
Method Summary |
void |
execute()
|
protected Collection<org.codehaus.mojo.gwt.GwtResourcesBaseMojo.ResourceFile> |
getAllResourceFiles()
Collect GWT java source code and module descriptor to be added as resources. |
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 |
GwtResourcesMojo
public GwtResourcesMojo()
execute
public void execute()
throws MojoExecutionException,
MojoFailureException
-
- Throws:
MojoExecutionException
MojoFailureException
- See Also:
Mojo.execute()
getAllResourceFiles
protected Collection<org.codehaus.mojo.gwt.GwtResourcesBaseMojo.ResourceFile> getAllResourceFiles()
throws MojoExecutionException,
MojoFailureException
- Collect GWT java source code and module descriptor to be added as resources.
- Throws:
MojoExecutionException
MojoFailureException
Copyright © 2007-2012 Codehaus. All Rights Reserved.