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 2011/12/16 23:36:02 UTC

svn commit: r1215323 - /maven/plugin-tools/trunk/maven-plugin-tools-java/src/site/apt/index.apt

Author: hboutemy
Date: Fri Dec 16 22:36:01 2011
New Revision: 1215323

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

Modified:
    maven/plugin-tools/trunk/maven-plugin-tools-java/src/site/apt/index.apt

Modified: maven/plugin-tools/trunk/maven-plugin-tools-java/src/site/apt/index.apt
URL: http://svn.apache.org/viewvc/maven/plugin-tools/trunk/maven-plugin-tools-java/src/site/apt/index.apt?rev=1215323&r1=1215322&r2=1215323&view=diff
==============================================================================
--- maven/plugin-tools/trunk/maven-plugin-tools-java/src/site/apt/index.apt (original)
+++ maven/plugin-tools/trunk/maven-plugin-tools-java/src/site/apt/index.apt Fri Dec 16 22:36:01 2011
@@ -46,14 +46,14 @@ import org.apache.maven.plugin.AbstractM
  * @execute phase="<phaseName>" lifecycle="<lifecycleId>" goal="<goalName>"
  * @executionStrategy <once-per-session|always>
  * @inheritByDefault <true|false>
- * @instantiationStrategy <per-lookup>
+ * @instantiationStrategy <per-lookup|singleton|keep-alive|poolable>
  * @phase <phaseName>
  * @requiresDependencyResolution <compile|runtime|compile+runtime|test>
  * @requiresDependencyCollection <compile|runtime|compile+runtime|test> (since Maven 3.0)
- * @requiresDirectInvocation <true|false>
- * @requiresOnline <true|false>
+ * @requiresDirectInvocation <false|true>
+ * @requiresOnline <false|true>
  * @requiresProject <true|false>
- * @requiresReports <true|false> (unsupported since Maven 3.0)
+ * @requiresReports <false|true> (unsupported since Maven 3.0)
  * @threadSafe (since Maven 3.0)
  * @since <since-text>
  * @deprecated <deprecated-text>
@@ -63,7 +63,6 @@ public class MyMojo
 {
     /**
      * @parameter alias="myAlias" implementation="" expression="${aSystemProperty}" default-value="${anExpression}"
-     * @component role="..." roleHint="..."
      * @readonly
      * @required
      * @since <since-text>
@@ -71,6 +70,15 @@ public class MyMojo
      */
     private String parameter;
 
+    /**
+     * @component role="..." roleHint="..."
+     * @readonly
+     * @required
+     * @since <since-text>
+     * @deprecated <deprecated-text>
+     */
+    private Component component;
+
     public void execute()
     {
         ...
@@ -80,6 +88,6 @@ public class MyMojo
 
 * See also
 
- * {{{/developers/mojo-api-specification.html}Mojo API Specification}}
+ * {{{/developers/mojo-api-specification.html#The_Descriptor_and_Annotations}Mojo API Specification}}
 
  * {{{/ref/current/maven-plugin-api/plugin.html}META-INF/maven/plugin.xml plugin descriptor}}