org.apache.tomcat.maven.plugin.tomcat6
Class StopMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.apache.tomcat.maven.plugin.tomcat6.AbstractI18NTomcat6Mojo
          extended by org.apache.tomcat.maven.plugin.tomcat6.AbstractCatalinaMojo
              extended by org.apache.tomcat.maven.plugin.tomcat6.AbstractWarCatalinaMojo
                  extended by org.apache.tomcat.maven.plugin.tomcat6.StopMojo
All Implemented Interfaces:
ContextEnabled, Mojo

@Mojo(name="stop")
public class StopMojo
extends AbstractWarCatalinaMojo

Stop a WAR in Tomcat.

Author:
Mark Hobson

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

StopMojo

public StopMojo()
Method Detail

invokeManager

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

Specified by:
invokeManager in class AbstractCatalinaMojo
Throws:
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-2012 The Apache Software Foundation. All Rights Reserved.