Author: hboutemy
Date: Sat Jul 20 07:06:56 2013
New Revision: 1505101
URL: http://svn.apache.org/r1505101
Log:
improve explanations about javadoc annotations and Java 5 annotations
Modified:
maven/site/trunk/content/apt/guides/plugin/guide-java-plugin-development.apt
Modified:
maven/site/trunk/content/apt/guides/plugin/guide-java-plugin-development.apt
URL:
http://svn.apache.org/viewvc/maven/site/trunk/content/apt/guides/plugin/guide-java-plugin-development.apt?rev=1505101&r1=1505100&r2=1505101&view=diff
==============================================================================
---
maven/site/trunk/content/apt/guides/plugin/guide-java-plugin-development.apt
(original)
+++
maven/site/trunk/content/apt/guides/plugin/guide-java-plugin-development.apt
Sat Jul 20 07:06:56 2013
@@ -56,10 +56,9 @@ Introduction
contains a number of similar mojos is likely to use an abstract
superclass for the mojos to consolidate code common to all mojos.
- When processing the source tree to find mojos, the class
-
<<<org.apache.maven.tools.plugin.extractor.java.JavaMojoDescriptorExtractor>>>
- looks for classes with a "<<<goal>>>" annotation on the class. Any class
- with this annotation are included in the plugin configuration file.
+ When processing the source tree to find mojos, {{{/plugin-tools/}
<<<plugin-tools>>>}}
+ looks for classes with either <<<@Mojo>>> Java 5 annotation or "<<<goal>>>"
javadoc annotation.
+ Any class with this annotation are included in the plugin configuration file.
*** A Simple Mojo
@@ -163,7 +162,7 @@ public class GreetingMojo extends Abstra
** Build Goals
- There are few goals which are defined with the Maven plugin
+ There are few goals which are defined with the <<<maven-plugin>>>
packaging as part of a standard build lifecycle:
*-------------+----------------------------------------------------+
@@ -686,4 +685,4 @@ public class MyQueryMojo
[[6]] {{{../../plugin-developers/common-bugs.html}Common Bugs and
Pitfalls}}: Overview of problematic coding patterns.
- []
\ No newline at end of file
+ []