org.codehaus.mojo.tomcat
Class RunWarMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.codehaus.mojo.tomcat.AbstractI18NMojo
          extended by org.codehaus.mojo.tomcat.AbstractRunMojo
              extended by 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

Field Summary
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
RunWarMojo()
           
 
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.codehaus.mojo.tomcat.AbstractRunMojo
execute, getPath, isWar
 
Methods inherited from class org.codehaus.mojo.tomcat.AbstractI18NMojo
getMessage, getMessage, getMessage, getMessage
 
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

RunWarMojo

public RunWarMojo()
Method Detail

createContext

protected org.apache.catalina.Context createContext(org.apache.catalina.startup.Embedded container)
                                             throws java.net.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:
java.net.MalformedURLException


Copyright © 2005-2010. All Rights Reserved.