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

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
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
Direct Known Subclasses:
AbstractDeployMojo, ReloadMojo, SessionsMojo, StartMojo, StopMojo, UndeployMojo

public abstract class AbstractWarCatalinaMojo
extends AbstractCatalinaMojo

Abstract goal that provides common configuration for Catalina-based goals.

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
AbstractWarCatalinaMojo()
           
 
Method Summary
 void execute()
          
protected  boolean isWar()
          Gets whether this project uses WAR packaging.
 
Methods inherited from class org.apache.tomcat.maven.plugin.tomcat6.AbstractCatalinaMojo
getDeployedURL, getManager, getPath, getURL, invokeManager, 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

AbstractWarCatalinaMojo

public AbstractWarCatalinaMojo()
Method Detail

execute

public void execute()
             throws org.apache.maven.plugin.MojoExecutionException

Specified by:
execute in interface org.apache.maven.plugin.Mojo
Overrides:
execute in class AbstractCatalinaMojo
Throws:
org.apache.maven.plugin.MojoExecutionException

isWar

protected boolean isWar()
Gets whether this project uses WAR packaging.

Returns:
whether this project uses WAR packaging


Copyright © 2005-2012 The Apache Software Foundation. All Rights Reserved.