org.apache.tomcat.maven.plugin.tomcat6
Class StartMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.apache.tomcat.maven.plugin.tomcat6.AbstractI18NTomcat6Mojo
org.apache.tomcat.maven.plugin.tomcat6.AbstractCatalinaMojo
org.apache.tomcat.maven.plugin.tomcat6.AbstractWarCatalinaMojo
org.apache.tomcat.maven.plugin.tomcat6.StartMojo
- All Implemented Interfaces:
- ContextEnabled, Mojo
public class StartMojo
- extends AbstractWarCatalinaMojo
Start a WAR in Tomcat.
- Version:
- $Id: StartMojo.html 1305321 2012-03-26 12:01:12Z olamy $
- Author:
- Mark Hobson
- Is defined by the goal name:
- start
Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
Method Summary |
protected void |
invokeManager()
Invokes Tomcat manager when this Mojo is executed. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StartMojo
public StartMojo()
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.