org.apache.tomcat.maven.plugin.tomcat7.deploy
Class UndeployMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.apache.tomcat.maven.plugin.tomcat7.AbstractTomcat7Mojo
          extended by org.apache.tomcat.maven.plugin.tomcat7.AbstractCatalinaMojo
              extended by org.apache.tomcat.maven.plugin.tomcat7.AbstractWarCatalinaMojo
                  extended by org.apache.tomcat.maven.plugin.tomcat7.deploy.UndeployMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

@Mojo(name="undeploy",
      threadSafe=true)
public class UndeployMojo
extends AbstractWarCatalinaMojo

Undeploy a WAR from Tomcat.

Since:
2.1

Field Summary
 
Fields inherited from class org.apache.tomcat.maven.plugin.tomcat7.AbstractTomcat7Mojo
messagesProvider, path, settings
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
UndeployMojo()
           
 
Method Summary
protected  void invokeManager()
          Invokes Tomcat manager when this Mojo is executed.
 
Methods inherited from class org.apache.tomcat.maven.plugin.tomcat7.AbstractWarCatalinaMojo
execute, isWar
 
Methods inherited from class org.apache.tomcat.maven.plugin.tomcat7.AbstractCatalinaMojo
getDeployedURL, getManager, getPath, getURL, log
 
Methods inherited from class org.apache.tomcat.maven.plugin.tomcat7.AbstractTomcat7Mojo
checkTomcatResponse
 
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

UndeployMojo

public UndeployMojo()
Method Detail

invokeManager

protected void invokeManager()
                      throws org.apache.maven.plugin.MojoExecutionException,
                             TomcatManagerException,
                             IOException
Invokes Tomcat manager when this Mojo is executed.

Specified by:
invokeManager in class AbstractCatalinaMojo
Throws:
org.apache.maven.plugin.MojoExecutionException - if there was a problem executing this goal
TomcatManagerException - if the Tomcat manager request fails
IOException - if an i/o error occurs


Copyright © 2005–2013 The Apache Software Foundation. All rights reserved.