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

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.AbstractDeployMojo
                      extended by org.apache.tomcat.maven.plugin.tomcat6.AbstractDeployWarMojo
                          extended by org.apache.tomcat.maven.plugin.tomcat6.DeployMojo
                              extended by org.apache.tomcat.maven.plugin.tomcat6.RedeployMojo
All Implemented Interfaces:
ContextEnabled, Mojo

@Mojo(name="redeploy")
public class RedeployMojo
extends DeployMojo

Redeploy a WAR in Tomcat. Deploy with forcing update flag to true

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
RedeployMojo()
           
 
Method Summary
protected  boolean isUpdate()
          Gets whether Tomcat should automatically undeploy webapps that already exist when deploying.
 
Methods inherited from class org.apache.tomcat.maven.plugin.tomcat6.AbstractDeployWarMojo
deployWar, getWarFile, validateWarFile
 
Methods inherited from class org.apache.tomcat.maven.plugin.tomcat6.AbstractDeployMojo
deployContext, deployWarAndContext, getContextFile, getTag, invokeManager, validateContextFile
 
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

RedeployMojo

public RedeployMojo()
Method Detail

isUpdate

protected boolean isUpdate()
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-2012 The Apache Software Foundation. All Rights Reserved.