Class PatchGenMojo
- java.lang.Object
-
- org.apache.maven.plugin.AbstractMojo
-
- org.jboss.as.patch.generator.maven.plugin.PatchGenMojo
-
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
@Mojo(name="generate-patch", defaultPhase=GENERATE_RESOURCES) public class PatchGenMojo extends org.apache.maven.plugin.AbstractMojoMaven plug-in for creating patches for WildFly / JBoss EAP, using the patch-gen tool.All options from
PatchGeneratorare supported. The configuration option names are the same as for the CLI options, but without hyphens and camel-cased. E.g. useappliesToDistas counterpart to--applies-to-dist.Example usage:
<plugin> <groupId>org.jboss.as</groupId> <artifactId>patch-gen-maven-plugin</artifactId> <version>2.1.1.Final-SNAPSHOT</version> <executions> <execution> <id>create-patch-file</id> <phase>prepare-package</phase> <goals> <goal>GenPatch</goal> </goals> <configuration> <appliesToDist>path/to/source/dist</appliesToDist> <updatedDist>path/to/updated/dist</updatedDist> <patchConfig>path/to/patch.xml</patchConfig> <outputFile>path/to/my-patch.zip</outputFile> <includeVersion>true</includeVersion> </configuration> </execution> </executions> </plugin>- Author:
- Gunnar Morling
-
-
Field Summary
Fields Modifier and Type Field Description protected List<org.apache.maven.artifact.Artifact>pluginArtifacts
-
Constructor Summary
Constructors Constructor Description PatchGenMojo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexecute()
-
-
-
Field Detail
-
pluginArtifacts
@Parameter(property="plugin.artifacts") protected List<org.apache.maven.artifact.Artifact> pluginArtifacts
-
-