org.codehaus.mojo.tomcat
Class RunMojo

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.RunMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

public class RunMojo
extends AbstractRunMojo

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

Version:
$Id: RunMojo.java 6835 2008-04-24 22:24:56Z jvanzyl $
Author:
Jurgen Lust, Mark Hobson

Field Summary
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
RunMojo()
           
 
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

RunMojo

public RunMojo()
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.