org.codehaus.mojo.tomcat
Class RunWarMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.codehaus.mojo.tomcat.AbstractI18NMojo
org.codehaus.mojo.tomcat.AbstractRunMojo
org.codehaus.mojo.tomcat.RunWarMojo
- All Implemented Interfaces:
- org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
public class RunWarMojo
- extends AbstractRunMojo
Runs the current project as a packaged web application using an embedded Tomcat server.
- Version:
- $Id: RunWarMojo.java 6588 2008-03-28 12:22:57Z bentmann $
- Author:
- Mark Hobson
Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
Method Summary |
protected org.apache.catalina.Context |
createContext(org.apache.catalina.startup.Embedded container)
Gets the context to run this web application under for the specified embedded Tomcat. |
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 |
RunWarMojo
public RunWarMojo()
createContext
protected org.apache.catalina.Context createContext(org.apache.catalina.startup.Embedded container)
throws MalformedURLException
- Description copied from class:
AbstractRunMojo
- Gets the context to run this web application under for the specified embedded Tomcat.
- Specified by:
createContext
in class AbstractRunMojo
- Parameters:
container
- the embedded Tomcat container being used
- Returns:
- the context to run this web application under
- Throws:
MalformedURLException
Copyright © 2005-2011 Codehaus. All Rights Reserved.