Class AbstractRunWarMojo

  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.apache.tomcat.maven.plugin.tomcat7.AbstractTomcat7Mojo
          extended by
              extended by
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
Direct Known Subclasses:
RunWarMojo, RunWarOnlyMojo

public abstract class AbstractRunWarMojo
extends AbstractRunMojo

Runs the current project as a packaged web application using an embedded Tomcat server.

Mark Hobson

Field Summary
Fields inherited from class
aliases, backgroundProcessorDelay, classLoaderClass, clientAuth, contextFile, contextReloadable, factory, hostName, mavenFileFilter, project, propertiesPortFilePath, resolver, session, skip, useSeparateTomcatClassLoader
Fields inherited from class org.apache.tomcat.maven.plugin.tomcat7.AbstractTomcat7Mojo
messagesProvider, path
Fields inherited from interface org.apache.maven.plugin.Mojo
Constructor Summary
Method Summary
protected  File getContextFile()
          Gets the Tomcat context XML file to use.
protected  File getDocBase()
          Gets the webapp directory to run.
Methods inherited from class
createContext, createWebappLoader, execute, getArtifact, getPath, getProjectArtifacts, getTomcatClassLoader, isContextReloadable, isWar, parseContextFile
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 AbstractRunWarMojo()
Method Detail


protected File getDocBase()
Gets the webapp directory to run.

Specified by:
getDocBase in class AbstractRunMojo
the webapp directory


protected File getContextFile()
Gets the Tomcat context XML file to use.

Specified by:
getContextFile in class AbstractRunMojo
the context XML file

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