org.mortbay.jetty.plugin
Class JettyDeployWar

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.mortbay.jetty.plugin.AbstractJettyMojo
          extended by org.mortbay.jetty.plugin.JettyRunWarMojo
              extended by org.mortbay.jetty.plugin.JettyDeployWar
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

public class JettyDeployWar
extends JettyRunWarMojo

This goal is used to run Jetty with a pre-assembled war.

It accepts exactly the same options as the run-war goal. However, it doesn't assume that the current artifact is a webapp and doesn't try to assemble it into a war before its execution. So using it makes sense only when used in conjunction with the webApp configuration parameter pointing to a pre-built WAR.

This goal is useful e.g. for launching a web app in Jetty as a target for unit-tested HTTP client components.


Field Summary
 
Fields inherited from class org.mortbay.jetty.plugin.AbstractJettyMojo
connectors, consoleScanner, contextHandlers, contextPath, daemon, jettyConfig, loginServices, PORT_SYSPROPERTY, project, reload, requestLog, scanIntervalSeconds, scanList, scanner, scannerListeners, server, skip, stopKey, stopPort, systemProperties, systemPropertiesFile, tmpDirectory, webAppConfig, webAppXml
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
JettyDeployWar()
           
 
Method Summary
 
Methods inherited from class org.mortbay.jetty.plugin.JettyRunWarMojo
applyJettyXml, checkPomConfiguration, configureScanner, configureWebApplication, execute, finishConfigurationBeforeStart, restartWebApp
 
Methods inherited from class org.mortbay.jetty.plugin.AbstractJettyMojo
findJettyWebXmlFile, getContextPath, getJettyXmlFile, getProject, getScanIntervalSeconds, getScanList, getScanner, getScannerListeners, getServer, getSystemPropertiesFile, getTmpDirectory, setScanList, setScannerListeners, setServer, setSystemProperties, setSystemPropertiesFile, startConsoleScanner, startJetty
 
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

JettyDeployWar

public JettyDeployWar()


Copyright © 1995-2011 Mort Bay Consulting. All Rights Reserved.