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/14 23:31:18 UTC
svn commit: r1338437 -
/maven/plugin-tools/trunk/maven-plugin-plugin/src/site/apt/examples/using-annotations.apt.vm
Author: hboutemy
Date: Mon May 14 21:31:18 2012
New Revision: 1338437
URL: http://svn.apache.org/viewvc?rev=1338437&view=rev
Log:
improved javadoc
Modified:
maven/plugin-tools/trunk/maven-plugin-plugin/src/site/apt/examples/using-annotations.apt.vm
Modified: maven/plugin-tools/trunk/maven-plugin-plugin/src/site/apt/examples/using-annotations.apt.vm
URL: http://svn.apache.org/viewvc/maven/plugin-tools/trunk/maven-plugin-plugin/src/site/apt/examples/using-annotations.apt.vm?rev=1338437&r1=1338436&r2=1338437&view=diff
==============================================================================
--- maven/plugin-tools/trunk/maven-plugin-plugin/src/site/apt/examples/using-annotations.apt.vm (original)
+++ maven/plugin-tools/trunk/maven-plugin-plugin/src/site/apt/examples/using-annotations.apt.vm Mon May 14 21:31:18 2012
@@ -87,14 +87,24 @@ Using Java5 annotations
Information for plugin descriptor generation is specified using 4 annotations:
- * <<<...@Mojo>>>: This annotation will mark your class as a Mojo. See
- {{{/plugin-tools/maven-plugin-annotations/apidocs/org/apache/maven/plugins/annotations/Mojo.html}javadoc}} for more information.
+ * 2 class-level annotations:
- * <<<...@Execute>>>: Used if your Mojo need to fork a lifecycle. See
- {{{/plugin-tools/maven-plugin-annotations/apidocs/org/apache/maven/plugins/annotations/Execute.html}javadoc}} for more information.
+ * <<<...@Mojo>>>: This annotation will mark your class as a Mojo. See
+ {{{/plugin-tools/maven-plugin-annotations/apidocs/org/apache/maven/plugins/annotations/Mojo.html}javadoc}} for more information.
- * <<<...@Parameter>>>: Used to configure your Mojo parameters. See
- {{{/plugin-tools/maven-plugin-annotations/apidocs/org/apache/maven/plugins/annotations/Parameter.html}javadoc}} for more information.
+ * <<<...@Execute>>>: Used if your Mojo need to fork a lifecycle. See
+ {{{/plugin-tools/maven-plugin-annotations/apidocs/org/apache/maven/plugins/annotations/Execute.html}javadoc}} for more information.
- * <<<...@Component>>>: Used to configure injection of Plexus components. See
- {{{/plugin-tools/maven-plugin-annotations/apidocs/org/apache/maven/plugins/annotations/Component.html}javadoc}} for more information.
+ []
+
+ * 2 field-level annotations:
+
+ * <<<...@Parameter>>>: Used to configure your Mojo parameters. See
+ {{{/plugin-tools/maven-plugin-annotations/apidocs/org/apache/maven/plugins/annotations/Parameter.html}javadoc}} for more information.
+
+ * <<<...@Component>>>: Used to configure injection of Plexus components. See
+ {{{/plugin-tools/maven-plugin-annotations/apidocs/org/apache/maven/plugins/annotations/Component.html}javadoc}} for more information.
+
+ []
+
+ []