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
FieldsModifier and TypeFieldDescriptionprivate File[]
The paths of the input descriptors to merge.private Merger
private File
The destination for the merged descriptor.Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Field Details
-
output
@Parameter(defaultValue="${project.build.outputDirectory}/META-INF/plexus/components.xml", required=true) private File outputThe destination for the merged descriptor. -
descriptors
The paths of the input descriptors to merge. -
merger
-
-
Constructor Details
-
PlexusMergeMojo
public PlexusMergeMojo()
-
-
Method Details
-
execute
public void execute() throws org.apache.maven.plugin.MojoExecutionException- Throws:
org.apache.maven.plugin.MojoExecutionException
-