From 10acc051bfb7dcf1fdcf812509ac4e0fcbaffdc0 Mon Sep 17 00:00:00 2001 From: Herve Boutemy Date: Sat, 20 Apr 2013 07:18:23 +0000 Subject: [PATCH] improved documentation: replaced links to annotations javadoc with link to annotations intro page git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1470118 13f79535-47bb-0310-9956-ffa450edef68 --- .../apt/examples/using-annotations.apt.vm | 24 ++++++++----------- 1 file changed, 10 insertions(+), 14 deletions(-) diff --git a/maven-plugin-plugin/src/site/apt/examples/using-annotations.apt.vm b/maven-plugin-plugin/src/site/apt/examples/using-annotations.apt.vm index 45fabc1..d03c397 100644 --- a/maven-plugin-plugin/src/site/apt/examples/using-annotations.apt.vm +++ b/maven-plugin-plugin/src/site/apt/examples/using-annotations.apt.vm @@ -48,9 +48,7 @@ Using Plugin Tools Java5 Annotations org.apache.maven.plugin-tools maven-plugin-annotations ${project.version} - - provided + provided ... @@ -93,32 +91,30 @@ Using Plugin Tools Java5 Annotations * 2 class-level 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. + * <<<@Mojo>>>: This annotation will mark your class as a Mojo, - * <<<@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. + * <<<@Execute>>>: Used if your Mojo needs to fork a lifecycle, [] * 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. + * <<<@Parameter>>>: Used to configure your Mojo parameters, - * <<<@Component>>>: Used to configure injection of Plexus components or Maven context components. See - {{{/plugin-tools/maven-plugin-annotations/apidocs/org/apache/maven/plugins/annotations/Component.html}javadoc}} for more information. + * <<<@Component>>>: Used to configure injection of Plexus components or Maven context components. [] [] - Plugin Tools Java 5 Annotations ({{{../../maven-plugin-tools-annotations/index.html}see full example}}) - are named after Plugin Tools Javadoc Tags ({{{../../maven-plugin-tools-java/index.html}see full example}}), + For more information on these annotations, see the + {{{../../maven-plugin-tools-annotations/index.html#Supported_Annotations}corresponding documentation}}. + + Notice that Plugin Tools Java 5 Annotations are named after Plugin Tools Javadoc Tags with following little differences: *-------------------------------+---------------+ -|| Plugin Tools Javadoc Tags || Plugin Tools Java 5 Annotation || +|| {{{../../maven-plugin-tools-java/index.html}Plugin Tools Javadoc Tags}} || {{{../../maven-plugin-tools-annotations/index.html}Plugin Tools Java 5 Annotation}} || *-------------------------------+---------------+ | <<<@goal "goal-name">>> | <<<@Mojo( name = "goal-name" )>>> *-------------------------------+---------------+