@Mojo(name="addPluginArtifactMetadata", defaultPhase=PACKAGE, threadSafe=true) public class AddPluginArtifactMetadataMojo extends org.apache.maven.plugin.AbstractMojo
latest
metadata (which is plugin-specific) for shipping alongside the plugin's
artifactArtifactRepositoryMetadata
,
GroupRepositoryMetadata
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
goalPrefix
The prefix for the plugin goal.
|
private org.apache.maven.project.MavenProject |
project
The project artifact, which should have the
latest metadata added to it. |
private boolean |
skip
Set this to "true" to skip invoking any goals or reports of the plugin.
|
Constructor and Description |
---|
AddPluginArtifactMetadataMojo() |
Modifier and Type | Method and Description |
---|---|
void |
execute() |
private java.lang.String |
getGoalPrefix() |
@Parameter(defaultValue="${project}", readonly=true) private org.apache.maven.project.MavenProject project
latest
metadata added to it.@Parameter private java.lang.String goalPrefix
@Parameter(defaultValue="false", property="maven.plugin.skip") private boolean skip