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

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.AbstractDeployMojo
                      extended by org.apache.tomcat.maven.plugin.tomcat7.deploy.AbstractDeployWarMojo
                          extended by org.apache.tomcat.maven.plugin.tomcat7.deploy.DeployOnlyMojo
                              extended by org.apache.tomcat.maven.plugin.tomcat7.deploy.RedeployOnlyMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

@Mojo(name="redeploy-only",
      threadSafe=true)
public class RedeployOnlyMojo
extends DeployOnlyMojo

Redeploy a WAR in Tomcat without forking the package lifecycle. (Alias for the deploy-only goal with its update parameter set to true.)

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
RedeployOnlyMojo()
           
 
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.tomcat7.deploy.AbstractDeployWarMojo
deployWar, getWarFile, validateWarFile
 
Methods inherited from class org.apache.tomcat.maven.plugin.tomcat7.deploy.AbstractDeployMojo
deployContext, deployWarAndContext, getContextFile, getTag, invokeManager, validateContextFile
 
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

RedeployOnlyMojo

public RedeployOnlyMojo()
Method Detail

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.