Package org.codehaus.mojo.gwt.webxml
Class MergeWebXmlMojo
- java.lang.Object
-
- org.apache.maven.plugin.AbstractMojo
-
- org.codehaus.mojo.gwt.AbstractGwtMojo
-
- org.codehaus.mojo.gwt.AbstractGwtModuleMojo
-
- org.codehaus.mojo.gwt.shell.AbstractGwtShellMojo
-
- org.codehaus.mojo.gwt.shell.AbstractGwtWebMojo
-
- org.codehaus.mojo.gwt.webxml.MergeWebXmlMojo
-
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo,GwtModuleReader
@Mojo(name="mergewebxml", defaultPhase=PROCESS_RESOURCES, requiresDependencyResolution=COMPILE, threadSafe=true) public class MergeWebXmlMojo extends AbstractGwtWebMojoMerges GWT servlet elements into deployment descriptor (and non GWT servlets into shell).If you use
scanRemoteServiceRelativePathAnnotationyou must bind this mojo to at least compile phase Because the classpath scanner need to see compile classes- Version:
- $Id$
- Author:
- cooper
-
-
Field Summary
-
Fields inherited from class org.codehaus.mojo.gwt.shell.AbstractGwtShellMojo
style
-
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 MergeWebXmlMojo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddoExecute()protected booleanisGenerator()Whether to use processed resources and compiled classes (false), or raw resources (true).-
Methods inherited from class org.codehaus.mojo.gwt.shell.AbstractGwtWebMojo
getWebXml, isWebXmlServletPathAsIs
-
Methods inherited from class org.codehaus.mojo.gwt.shell.AbstractGwtShellMojo
addArgumentDeploy, addArgumentGen, addCompileSourceArtifacts, addPersistentUnitCache, createJavaCommand, execute, getExtraJvmArgs, getJvm, getLogLevel, getStyle, postProcessClassPath, setTimeOut
-
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, resolve, setupGenerateDirectory
-
-
-
-
Method Detail
-
isGenerator
protected boolean isGenerator()
Description copied from class:AbstractGwtMojoWhether to use processed resources and compiled classes (false), or raw resources (true).- Overrides:
isGeneratorin classAbstractGwtMojo
-
doExecute
public void doExecute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException- Specified by:
doExecutein classAbstractGwtShellMojo- Throws:
org.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureException
-
-