Class ExplodedMojo

  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.ExplodedMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

public class ExplodedMojo
extends AbstractDeployMojo

Deploy an exploded WAR to Tomcat.

Mark Hobson

Field Summary
Fields inherited from class org.apache.tomcat.maven.plugin.tomcat6.AbstractI18NTomcat6Mojo
messagesProvider, path, settings
Fields inherited from interface org.apache.maven.plugin.Mojo
Constructor Summary
Method Summary
protected  File getWarFile()
          Gets the Tomcat WAR file.
protected  void validateWarFile()
          Ensures that the Tomcat WAR file exists and is the correct type for the deployment mode.
Methods inherited from class org.apache.tomcat.maven.plugin.tomcat6.AbstractDeployMojo
deployContext, deployWar, deployWarAndContext, getContextFile, getTag, invokeManager, isUpdate, 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.tomcat.maven.plugin.tomcat6.AbstractI18NTomcat6Mojo
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


public ExplodedMojo()
Method Detail


protected File getWarFile()
Gets the Tomcat WAR file. This may be a file or a directory depending on the deployment mode.

Specified by:
getWarFile in class AbstractDeployMojo
the Tomcat WAR file.


protected void validateWarFile()
                        throws org.apache.maven.plugin.MojoExecutionException
Ensures that the Tomcat WAR file exists and is the correct type for the deployment mode.

Specified by:
validateWarFile in class AbstractDeployMojo
org.apache.maven.plugin.MojoExecutionException - if the WAR file does not exist or is not the correct type for the deployment mode

Copyright © 2005–2014 The Apache Software Foundation. All rights reserved.