public class AbstractDeployWarMojo extends AbstractDeployMojo
messagesProvider, path, settingsROLE| Constructor and Description |
|---|
AbstractDeployWarMojo() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
deployWar()
Deploys the WAR to Tomcat.
|
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.
|
deployContext, deployWarAndContext, getContextFile, getTag, invokeManager, isUpdate, validateContextFileexecute, isWargetDeployedURL, getManager, getPath, getURL, logcheckTomcatResponsegetLog, getPluginContext, setLog, setPluginContextprotected File getWarFile()
getWarFile in class AbstractDeployMojoprotected void validateWarFile()
throws org.apache.maven.plugin.MojoExecutionException
validateWarFile in class AbstractDeployMojoorg.apache.maven.plugin.MojoExecutionException - if the WAR file does not exist or is not the correct type for the deployment modeprotected void deployWar()
throws org.apache.maven.plugin.MojoExecutionException,
TomcatManagerException,
IOException
deployWar in class AbstractDeployMojoorg.apache.maven.plugin.MojoExecutionException - if there was a problem locating the WARTomcatManagerException - if the Tomcat manager request failsIOException - if an i/o error occursCopyright © 2005–2014 The Apache Software Foundation. All rights reserved.