public class JettyRunWarExplodedMojo extends AbstractCipangoMojo
This goal is used to assemble your webapp into an exploded war and automatically deploy it to Jetty.
Once invoked, the plugin can be configured to run continuously, scanning for changes in the pom.xml and to WEB-INF/web.xml, WEB-INF/classes or WEB-INF/lib and hot redeploy when a change is detected.
You may also specify the location of a jetty.xml file whose contents will be applied before any plugin configuration. This can be used, for example, to deploy a static webapp that is not part of your maven build.
There is a reference guide to the configuration parameters for this plugin, and more detailed information with examples in the Configuration Guide.
addDefaultConnectors, annotationsEnabled, extraConfigurationClasses, SIP_HOST_PROPERTY, SIP_PORT_PROPERTY, sipApp, sipDefaultXmlconsoleScanner, contextHandlers, contextXml, daemon, dumpOnStart, excludedGoals, execution, httpConnector, jettyXml, loginServices, pluginArtifacts, PORT_SYSPROPERTY, project, projectArtifacts, reload, requestLog, scanIntervalSeconds, scanList, scanner, scannerListeners, server, skip, stopKey, stopPort, systemProperties, systemPropertiesFile, useProvidedScope, webApp| Constructor and Description |
|---|
JettyRunWarExplodedMojo() |
| Modifier and Type | Method and Description |
|---|---|
void |
checkPomConfiguration() |
void |
configureScanner() |
void |
configureWebApplication()
Subclasses should invoke this to setup basic info
on the webapp
|
void |
execute() |
void |
restartWebApp(boolean reconfigureScanner) |
applyJettyXml, finishConfigurationBeforeStartconfigurePluginClasspath, findJettyWebXmlFile, getJettyXmlFiles, isExcluded, isPluginArtifact, setSystemProperties, setSystemPropertiesFile, startConsoleScanner, startJettypublic void execute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
execute in interface org.apache.maven.plugin.Mojoexecute in class AbstractCipangoMojoorg.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureExceptionAbstractJettyMojo.execute()public void checkPomConfiguration()
throws org.apache.maven.plugin.MojoExecutionException
checkPomConfiguration in class AbstractJettyMojoorg.apache.maven.plugin.MojoExecutionExceptionAbstractJettyMojo.checkPomConfiguration()public void configureScanner()
throws org.apache.maven.plugin.MojoExecutionException
configureScanner in class AbstractJettyMojoorg.apache.maven.plugin.MojoExecutionExceptionAbstractJettyMojo.configureScanner()public void restartWebApp(boolean reconfigureScanner)
throws java.lang.Exception
restartWebApp in class AbstractJettyMojojava.lang.ExceptionAbstractJettyMojo.restartWebApp(boolean)public void configureWebApplication()
throws java.lang.Exception
AbstractJettyMojoconfigureWebApplication in class AbstractCipangoMojoorg.apache.maven.plugin.MojoExecutionExceptionjava.lang.ExceptionAbstractJettyMojo.configureWebApplication()Copyright © 2015. All Rights Reserved.