Package org.wildfly.galleon.maven
Class UserFeaturePackBuildMojo
- java.lang.Object
-
- org.apache.maven.plugin.AbstractMojo
-
- org.wildfly.galleon.maven.AbstractFeaturePackBuildMojo
-
- org.wildfly.galleon.maven.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 AbstractFeaturePackBuildMojoThis 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
-
-
Field Summary
-
Fields inherited from class org.wildfly.galleon.maven.AbstractFeaturePackBuildMojo
addFeaturePacksAsRequiredChannels, artifactResolver, channelGenerated, jakartaTransform, jakartaTransformConfigsDir, jakartaTransformExcludedArtifacts, jakartaTransformRepo, jakartaTransformVerbose, project, repoSession, repositories, repoSystem, session, taskProps
-
-
Constructor Summary
Constructors Constructor Description UserFeaturePackBuildMojo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voiddoExecute()-
Methods inherited from class org.wildfly.galleon.maven.AbstractFeaturePackBuildMojo
addPackage, buildFeaturePack, debug, execute, getArtifactVersions, getFpDependencies, getFpDir, getJakartaTransformation, getPackagesDir, getWildFlyResourcesDir, getWorkDir, handleAddOns, handleLayers, handleModules, processFeaturePackDependencies, resolveArtifact, resolveVersion, setupDirs, transformOnlyArtifactDependencies, warn
-
-
-
-
Method Detail
-
doExecute
protected void doExecute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException- Specified by:
doExecutein classAbstractFeaturePackBuildMojo- Throws:
org.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureException
-
-