org.codehaus.mojo.gwt
Class GwtSourcesJarMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.codehaus.mojo.gwt.AbstractGwtMojo
org.codehaus.mojo.gwt.AbstractGwtModuleMojo
org.codehaus.mojo.gwt.GwtSourcesJarMojo
- All Implemented Interfaces:
- ContextEnabled, Mojo, GwtModuleReader
public class GwtSourcesJarMojo
- extends AbstractGwtModuleMojo
Add GWT java source code and module descriptor as resources to project jar. Alternative
to gwt:resources for better Eclipse projects synchronization.
- Author:
- Vlad Skarzhevskyy
- Is bound to the specified phase of the standard build lifecycle:
- package
- Is defined by the goal name:
- source-jar
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 |
GwtSourcesJarMojo
public GwtSourcesJarMojo()
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.