Package org.codehaus.plexus.maven.plugin
Class PlexusMergeMojo
- java.lang.Object
-
- org.apache.maven.plugin.AbstractMojo
-
- org.codehaus.plexus.maven.plugin.PlexusMergeMojo
-
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled
,org.apache.maven.plugin.Mojo
@Mojo(name="merge-metadata", defaultPhase=PROCESS_CLASSES) public class PlexusMergeMojo extends org.apache.maven.plugin.AbstractMojo
Merges a set of Plexus descriptors into one descriptor file.
-
-
Field Summary
Fields Modifier and Type Field Description private java.io.File[]
descriptors
The paths of the input descriptors to merge.private Merger
merger
private java.io.File
output
The destination for the merged descriptor.
-
Constructor Summary
Constructors Constructor Description PlexusMergeMojo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
execute()
-
-
-
Field Detail
-
output
@Parameter(defaultValue="${project.build.outputDirectory}/META-INF/plexus/components.xml", required=true) private java.io.File output
The destination for the merged descriptor.
-
descriptors
@Parameter private java.io.File[] descriptors
The paths of the input descriptors to merge.
-
merger
@Component(hint="componentsXml") private Merger merger
-
-