From fb2232b54f1d44b0978cf267399c4e4d2838a945 Mon Sep 17 00:00:00 2001 From: Herve Boutemy Date: Fri, 16 Dec 2011 22:36:01 +0000 Subject: [PATCH] improved documentation git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1215323 13f79535-47bb-0310-9956-ffa450edef68 --- .../src/site/apt/index.apt | 20 +++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/maven-plugin-tools-java/src/site/apt/index.apt b/maven-plugin-tools-java/src/site/apt/index.apt index 9816cf5..b84ba23 100644 --- a/maven-plugin-tools-java/src/site/apt/index.apt +++ b/maven-plugin-tools-java/src/site/apt/index.apt @@ -46,14 +46,14 @@ import org.apache.maven.plugin.AbstractMojo; * @execute phase="" lifecycle="" goal="" * @executionStrategy * @inheritByDefault - * @instantiationStrategy + * @instantiationStrategy * @phase * @requiresDependencyResolution * @requiresDependencyCollection (since Maven 3.0) - * @requiresDirectInvocation - * @requiresOnline + * @requiresDirectInvocation + * @requiresOnline * @requiresProject - * @requiresReports (unsupported since Maven 3.0) + * @requiresReports (unsupported since Maven 3.0) * @threadSafe (since Maven 3.0) * @since * @deprecated @@ -63,7 +63,6 @@ public class MyMojo { /** * @parameter alias="myAlias" implementation="" expression="${aSystemProperty}" default-value="${anExpression}" - * @component role="..." roleHint="..." * @readonly * @required * @since @@ -71,6 +70,15 @@ public class MyMojo */ private String parameter; + /** + * @component role="..." roleHint="..." + * @readonly + * @required + * @since + * @deprecated + */ + 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}}