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:
- ContextEnabled, Mojo, GwtModuleReader
public class MergeWebXmlMojo
- extends AbstractGwtWebMojo
Merges GWT servlet elements into deployment descriptor (and non GWT servlets into shell).
If you use scanRemoteServiceRelativePathAnnotation
you must bind this mojo to at least compile phase
Because the classpath scanner need to see compile classes
- Version:
- $Id: MergeWebXmlMojo.java 13239 2010-11-29 14:32:55Z olamy $
- Author:
- cooper
- Is bound to the specified phase of the standard build lifecycle:
- process-resources
- Requires the dependencies in this specified scope:
- compile
- Is defined by the goal name:
- mergewebxml
Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
Constructor Summary |
MergeWebXmlMojo()
Creates a new instance of MergeWebXmlMojo |
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 |
MergeWebXmlMojo
public MergeWebXmlMojo()
- Creates a new instance of MergeWebXmlMojo
doExecute
public void doExecute()
throws MojoExecutionException,
MojoFailureException
- Specified by:
doExecute
in class AbstractGwtShellMojo
- Throws:
MojoExecutionException
MojoFailureException
Copyright © 2007-2012 Codehaus. All Rights Reserved.