@Mojo(name="generate-metadata", defaultPhase=PROCESS_CLASSES, requiresDependencyResolution=COMPILE) public class PlexusDescriptorMojo extends AbstractDescriptorMojo
Modifier and Type | Field and Description |
---|---|
protected File |
generatedMetadata
The output location for the generated descriptor.
|
protected File |
intermediaryMetadata
The output location for the intermediary descriptor.
|
protected File |
staticMetadataDirectory
The location of manually crafted component descriptors.
|
extractors, mavenProject, mavenProjectHelper, metadataGenerator, sourceEncoding
Constructor and Description |
---|
PlexusDescriptorMojo() |
Modifier and Type | Method and Description |
---|---|
void |
execute() |
@Parameter(defaultValue="${project.build.outputDirectory}/META-INF/plexus/components.xml", required=true) protected File generatedMetadata
@Parameter(defaultValue="${basedir}/src/main/resources/META-INF/plexus", required=true) protected File staticMetadataDirectory
@Parameter(defaultValue="${project.build.directory}/components.xml", required=true) protected File intermediaryMetadata
Copyright © 2001–2021 Codehaus Plexus. All rights reserved.