Class AbstractUnassembledWebAppMojo

    • Field Detail

      • webXml

        @Parameter(defaultValue="${project.baseDir}/src/main/webapp/WEB-INF/web.xml")
        protected java.io.File webXml
        The default location of the web.xml file. Will be used if <webApp><descriptor> is not set.
      • testClassesDirectory

        @Parameter(defaultValue="${project.build.testOutputDirectory}",
                   required=true)
        protected java.io.File testClassesDirectory
        The directory containing generated test classes.
      • scanTestClassesPattern

        @Parameter
        protected ScanPattern scanTestClassesPattern
        An optional pattern for includes/excludes of classes in the testClassesDirectory
      • classesDirectory

        @Parameter(defaultValue="${project.build.outputDirectory}",
                   required=true)
        protected java.io.File classesDirectory
        The directory containing generated classes.
      • scanClassesPattern

        @Parameter
        protected ScanPattern scanClassesPattern
        An optional pattern for includes/excludes of classes in the classesDirectory
      • webAppSourceDirectory

        @Parameter(defaultValue="${project.basedir}/src/main/webapp",
                   readonly=true)
        protected java.io.File webAppSourceDirectory
        Default root directory for all html/jsp etc files. Used to initialize webApp.setBaseResource().
    • Constructor Detail

      • AbstractUnassembledWebAppMojo

        public AbstractUnassembledWebAppMojo()
    • Method Detail

      • verifyPomConfiguration

        protected void verifyPomConfiguration()
                                       throws org.apache.maven.plugin.MojoExecutionException
        Description copied from class: AbstractWebAppMojo
        Used by subclasses.
        Overrides:
        verifyPomConfiguration in class AbstractWebAppMojo
        Throws:
        org.apache.maven.plugin.MojoExecutionException
      • configureWebApp

        protected 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 AbstractWebAppMojo
        Throws:
        java.lang.Exception
      • configureUnassembledWebApp

        protected void configureUnassembledWebApp()
                                           throws java.lang.Exception
        Configure a webapp that has not been assembled into a war.
        Throws:
        java.lang.Exception
      • getWebInfLibArtifacts

        protected java.util.Collection<org.apache.maven.artifact.Artifact> getWebInfLibArtifacts()
        Find which dependencies are suitable for addition to the virtual WEB-INF lib.