From 45f4ad60342f523878f0fdeb0ba4165ff6146e0c Mon Sep 17 00:00:00 2001 From: Herve Boutemy Date: Sat, 12 May 2012 10:01:00 +0000 Subject: [PATCH] improved javadoc git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/branches/MPLUGIN-189@1337493 13f79535-47bb-0310-9956-ffa450edef68 --- .../metadata/AddPluginArtifactMetadataMojo.java | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) 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