Class UserFeaturePackBuildMojo

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

    @Mojo(name="build-user-feature-pack",
          requiresDependencyResolution=RUNTIME,
          defaultPhase=COMPILE)
    public class UserFeaturePackBuildMojo
    extends AbstractFeaturePackBuildMojo
    This Maven Mojo is intended to be used to build feature-packs that depend on one of the WildFly feature-packs. This Maven mojo creates a WildFly style feature-pack archive from the provided resources according to the feature-pack build configuration file and attaches it to the current Maven project as an artifact. If no feature-pack build configuration is provided, some defaults are applied. The content of the future feature-pack archive is first created in the directory called `feature-pack-layout` under the module's build directory which is then ZIPped to create the feature-pack artifact.
    Author:
    Jean-Francois Denise
    • Constructor Detail

      • UserFeaturePackBuildMojo

        public UserFeaturePackBuildMojo()
    • Method Detail

      • doExecute

        protected void doExecute()
                          throws org.apache.maven.plugin.MojoExecutionException,
                                 org.apache.maven.plugin.MojoFailureException
        Specified by:
        doExecute in class AbstractFeaturePackBuildMojo
        Throws:
        org.apache.maven.plugin.MojoExecutionException
        org.apache.maven.plugin.MojoFailureException