Class JettyEffectiveWebXml

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

    @Mojo(name="effective-web-xml",
          requiresDependencyResolution=RUNTIME)
    public class JettyEffectiveWebXml
    extends AbstractUnassembledWebAppMojo
    Generate the effective web.xml for a pre-built webapp. This goal will NOT first build the webapp, it must already exist.
    • Field Detail

      • effectiveWebXml

        @Parameter(defaultValue="${project.build.directory}/effective-web.xml")
        protected java.io.File effectiveWebXml
        The name of the file to generate into
    • Constructor Detail

      • JettyEffectiveWebXml

        public JettyEffectiveWebXml()
    • Method Detail

      • configureWebApp

        public void configureWebApp()
                             throws java.lang.Exception
        Description copied from class: AbstractWebAppMojo
        Ensure there is a webapp, and that some basic defaults are applied if the user has not supplied them.
        Overrides:
        configureWebApp in class AbstractUnassembledWebAppMojo
        Throws:
        java.lang.Exception
      • startJettyEmbedded

        protected void startJettyEmbedded()
                                   throws org.apache.maven.plugin.MojoExecutionException
        Specified by:
        startJettyEmbedded in class AbstractWebAppMojo
        Throws:
        org.apache.maven.plugin.MojoExecutionException
      • startJettyForked

        protected void startJettyForked()
                                 throws org.apache.maven.plugin.MojoExecutionException
        Specified by:
        startJettyForked in class AbstractWebAppMojo
        Throws:
        org.apache.maven.plugin.MojoExecutionException
      • startJettyHome

        protected void startJettyHome()
                               throws org.apache.maven.plugin.MojoExecutionException
        Specified by:
        startJettyHome in class AbstractWebAppMojo
        Throws:
        org.apache.maven.plugin.MojoExecutionException