org.apache.tomcat.maven.plugin.tomcat7.deploy
Class RedeployMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.apache.tomcat.maven.plugin.tomcat7.AbstractTomcat7Mojo
org.apache.tomcat.maven.plugin.tomcat7.AbstractCatalinaMojo
org.apache.tomcat.maven.plugin.tomcat7.AbstractWarCatalinaMojo
org.apache.tomcat.maven.plugin.tomcat7.deploy.AbstractDeployMojo
org.apache.tomcat.maven.plugin.tomcat7.deploy.AbstractDeployWarMojo
org.apache.tomcat.maven.plugin.tomcat7.deploy.DeployMojo
org.apache.tomcat.maven.plugin.tomcat7.deploy.RedeployMojo
- All Implemented Interfaces:
- org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
@Mojo(name="redeploy",
threadSafe=true)
@Execute(phase=PACKAGE)
public class RedeployMojo
- extends DeployMojo
Redeploy a WAR in Tomcat. (Alias for the deploy goal with its update parameter set to true.)
- Since:
- 2.1
- Author:
- Olivier Lamy
Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
Method Summary |
protected boolean |
isUpdate()
Gets whether Tomcat should automatically undeploy webapps that already exist when deploying. |
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 |
RedeployMojo
public RedeployMojo()
isUpdate
protected boolean isUpdate()
- Description copied from class:
AbstractDeployMojo
- Gets whether Tomcat should automatically undeploy webapps that already exist when deploying.
- Overrides:
isUpdate
in class AbstractDeployMojo
- Returns:
- whether Tomcat should automatically undeploy webapps that already exist when deploying
Copyright © 2005–2013 The Apache Software Foundation. All rights reserved.