Class JettyRunWarMojo

java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.eclipse.jetty.ee10.maven.plugin.AbstractWebAppMojo
org.eclipse.jetty.ee10.maven.plugin.JettyRunWarMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

@Mojo(name="run-war", requiresDependencyResolution=COMPILE_PLUS_RUNTIME) @Execute(phase=PACKAGE) public class JettyRunWarMojo extends AbstractWebAppMojo

This goal is used to assemble your webapp into a war and automatically deploy it to Jetty.

Once invoked, the plugin runs continuously and can be configured to scan for changes in the project and to the war file and automatically perform a hot redeploy when necessary.

You may also specify the location of a jetty.xml file whose contents will be applied before any plugin configuration.

You can configure this goal to run your webapp either in-process with maven, or forked into a new process, or deployed into a jetty distribution.