You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by hb...@apache.org on 2012/05/12 12:01:01 UTC

svn commit: r1337493 - /maven/plugin-tools/branches/MPLUGIN-189/maven-plugin-plugin/src/main/java/org/apache/maven/plugin/plugin/metadata/AddPluginArtifactMetadataMojo.java

Author: hboutemy
Date: Sat May 12 10:01:00 2012
New Revision: 1337493

URL: http://svn.apache.org/viewvc?rev=1337493&view=rev
Log:
improved javadoc

Modified:
    maven/plugin-tools/branches/MPLUGIN-189/maven-plugin-plugin/src/main/java/org/apache/maven/plugin/plugin/metadata/AddPluginArtifactMetadataMojo.java

Modified: maven/plugin-tools/branches/MPLUGIN-189/maven-plugin-plugin/src/main/java/org/apache/maven/plugin/plugin/metadata/AddPluginArtifactMetadataMojo.java
URL: http://svn.apache.org/viewvc/maven/plugin-tools/branches/MPLUGIN-189/maven-plugin-plugin/src/main/java/org/apache/maven/plugin/plugin/metadata/AddPluginArtifactMetadataMojo.java?rev=1337493&r1=1337492&r2=1337493&view=diff
==============================================================================
--- maven/plugin-tools/branches/MPLUGIN-189/maven-plugin-plugin/src/main/java/org/apache/maven/plugin/plugin/metadata/AddPluginArtifactMetadataMojo.java (original)
+++ maven/plugin-tools/branches/MPLUGIN-189/maven-plugin-plugin/src/main/java/org/apache/maven/plugin/plugin/metadata/AddPluginArtifactMetadataMojo.java Sat May 12 10:01:00 2012
@@ -29,10 +29,17 @@ import org.apache.maven.plugin.descripto
 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
+ * <a href="/ref/current/maven-repository-metadata/repository-metadata.html">artifact metadata</a> to the project's
+ * artifact, for subsequent installation and deployment.
+ * It is used:
+ * <ol>
+ * <li>to add the <code>latest</code> metadata (which is plugin-specific) for shipping alongside the plugin's artifact</li>
+ * <li>to define plugin mapping in the group</li>
+ * </ol>
  *
+ * @see ArtifactRepositoryMetadata
+ * @see GroupRepositoryMetadata
  * @version $Id$
  * @since 2.0
  * @phase package
@@ -43,7 +50,7 @@ public class AddPluginArtifactMetadataMo
     extends AbstractMojo
 {
     /**
-     * The project artifact, which should have the LATEST metadata added to it.
+     * The project artifact, which should have the <code>latest</code> metadata added to it.
      *
      * @parameter default-value="${project}"
      * @required