Package 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:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo,GwtModuleReader
@Deprecated @Mojo(name="resources", defaultPhase=PROCESS_RESOURCES, threadSafe=true) public class GwtResourcesMojo extends AbstractGwtModuleMojo
Deprecated.use maven-source-plugin and sources classifier dependencies insteadCopy 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. Only thepathattribute of the<source>and<super-source>are supported, and all files matching "**/*.java" will be included.- 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 GwtResourcesMojo()Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidexecute()Deprecated.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.AbstractGwtModuleMojo
getGwtModules, getModules, readModule
-
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
-
-
-
-
Method Detail
-
execute
public void execute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureExceptionDeprecated.- Throws:
org.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureException- See Also:
Mojo.execute()
-
getAllResourceFiles
protected Collection<org.codehaus.mojo.gwt.GwtResourcesBaseMojo.ResourceFile> getAllResourceFiles() throws org.apache.maven.plugin.MojoExecutionException
Collect GWT java source code and module descriptor to be added as resources.- Throws:
org.apache.maven.plugin.MojoExecutionException
-
-