Class JettyRunWarExplodedMojo

  • All Implemented Interfaces:
    org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

    @Mojo(name="run-exploded",
          requiresDependencyResolution=COMPILE_PLUS_RUNTIME)
    @Execute(phase=PACKAGE)
    public class JettyRunWarExplodedMojo
    extends AbstractJettyMojo

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

    Once invoked, the plugin runs continuously, and can be configured to scan 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.