diff --git a/maven-plugin-plugin/src/main/java/org/apache/maven/plugin/plugin/metadata/AddPluginArtifactMetadataMojo.java b/maven-plugin-plugin/src/main/java/org/apache/maven/plugin/plugin/metadata/AddPluginArtifactMetadataMojo.java index 005206d..43a472b 100644 --- a/maven-plugin-plugin/src/main/java/org/apache/maven/plugin/plugin/metadata/AddPluginArtifactMetadataMojo.java +++ b/maven-plugin-plugin/src/main/java/org/apache/maven/plugin/plugin/metadata/AddPluginArtifactMetadataMojo.java @@ -29,10 +29,17 @@ import org.apache.maven.plugin.descriptor.PluginDescriptor; import org.apache.maven.project.MavenProject; /** - * Inject any plugin-specific artifact metadata to the project's artifact, for subsequent installation - * and deployment. The first use-case for this is to add the LATEST metadata (which is plugin-specific) - * for shipping alongside the plugin's artifact. + * Inject any plugin-specific + * artifact metadata to the project's + * artifact, for subsequent installation and deployment. + * It is used: + *
    + *
  1. to add the latest metadata (which is plugin-specific) for shipping alongside the plugin's artifact
  2. + *
  3. to define plugin mapping in the group
  4. + *
* + * @see ArtifactRepositoryMetadata + * @see GroupRepositoryMetadata * @version $Id$ * @since 2.0 * @phase package @@ -43,7 +50,7 @@ public class AddPluginArtifactMetadataMojo extends AbstractMojo { /** - * The project artifact, which should have the LATEST metadata added to it. + * The project artifact, which should have the latest metadata added to it. * * @parameter default-value="${project}" * @required