org.codehaus.mojo.gwt.webxml
Class MergeWebXmlMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.codehaus.mojo.gwt.AbstractGwtMojo
          extended by org.codehaus.mojo.gwt.AbstractGwtModuleMojo
              extended by org.codehaus.mojo.gwt.shell.AbstractGwtShellMojo
                  extended by org.codehaus.mojo.gwt.shell.AbstractGwtWebMojo
                      extended by 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

Nested Class Summary
 
Nested classes/interfaces inherited from class org.codehaus.mojo.gwt.shell.AbstractGwtShellMojo
AbstractGwtShellMojo.JavaCommand
 
Field Summary
 
Fields inherited from class org.codehaus.mojo.gwt.shell.AbstractGwtShellMojo
out
 
Fields inherited from class org.codehaus.mojo.gwt.AbstractGwtModuleMojo
GWT_MODULE_EXTENSION
 
Fields inherited from class org.codehaus.mojo.gwt.AbstractGwtMojo
artifactFactory, GWT_GROUP_ID, gwtSdkFirstInClasspath, localRepository, remoteRepositories, resolver, warSourceDirectory
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
MergeWebXmlMojo()
          Creates a new instance of MergeWebXmlMojo
 
Method Summary
 void doExecute()
           
 
Methods inherited from class org.codehaus.mojo.gwt.shell.AbstractGwtWebMojo
getWebXml, isWebXmlServletPathAsIs
 
Methods inherited from class org.codehaus.mojo.gwt.shell.AbstractGwtShellMojo
execute, getExtraJvmArgs, getGen, getJvm, getLogLevel, getStyle, postProcessClassPath, setTimeOut
 
Methods inherited from class org.codehaus.mojo.gwt.AbstractGwtModuleMojo
addCompileSourceRoot, getGwtModules, getModules, readModule
 
Methods inherited from class org.codehaus.mojo.gwt.AbstractGwtMojo
addClasspathElements, getClasspath, getGenerateDirectory, getGwtDevJar, getGwtUserJar, getLocalRepository, getOutputDirectory, getProject, getProjectArtifacts, getRemoteRepositories, resolve
 
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MergeWebXmlMojo

public MergeWebXmlMojo()
Creates a new instance of MergeWebXmlMojo

Method Detail

doExecute

public void doExecute()
               throws MojoExecutionException,
                      MojoFailureException
Specified by:
doExecute in class AbstractGwtShellMojo
Throws:
MojoExecutionException
MojoFailureException


Copyright © 2007-2012 Codehaus. All Rights Reserved.