org.apache.tomcat.maven.plugin.tomcat6
Class AbstractRunWarMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.apache.tomcat.maven.plugin.tomcat6.AbstractI18NTomcat6Mojo
org.apache.tomcat.maven.plugin.tomcat6.AbstractRunMojo
org.apache.tomcat.maven.plugin.tomcat6.AbstractRunWarMojo
- All Implemented Interfaces:
- ContextEnabled, 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.
- Author:
- Mark Hobson
Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractRunWarMojo
public AbstractRunWarMojo()
getDocBase
protected File getDocBase()
- Gets the webapp directory to run.
- Specified by:
getDocBase
in class AbstractRunMojo
- Returns:
- the webapp directory
getContextFile
protected File getContextFile()
- Gets the Tomcat context XML file to use.
- Specified by:
getContextFile
in class AbstractRunMojo
- Returns:
- the context XML file
Copyright © 2005-2012 The Apache Software Foundation. All Rights Reserved.