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 war 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.
Modifier and Type | Field and Description |
---|---|
protected boolean |
daemon
If true, the plugin should continue and not block.
|
consoleScanner, contextHandlers, contextXml, dumpOnStart, excludedGoals, execution, httpConnector, jettyXml, loginServices, nonblocking, pluginArtifacts, PORT_SYSPROPERTY, project, projectArtifacts, reload, requestLog, scanIntervalSeconds, scanList, scanner, scannerListeners, server, skip, stopKey, stopPort, systemProperties, systemPropertiesFile, useProvidedScope, webApp
Constructor and Description |
---|
JettyDeployWar() |
Modifier and Type | Method and Description |
---|---|
void |
execute() |
void |
finishConfigurationBeforeStart() |
checkPomConfiguration, configureScanner, configureWebApplication, restartWebApp
applyJettyXml, configureMonitor, configurePluginClasspath, findJettyWebXmlFile, getJettyXmlFiles, isExcluded, isPluginArtifact, printSystemProperties, setSystemProperties, setSystemPropertiesFile, startConsoleScanner, startJetty
protected boolean daemon
public void execute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException
execute
in interface org.apache.maven.plugin.Mojo
execute
in class JettyRunWarMojo
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
Mojo.execute()
public void finishConfigurationBeforeStart() throws Exception
finishConfigurationBeforeStart
in class JettyRunWarMojo
Exception
Copyright © 1995-2015 Webtide. All Rights Reserved.