From 3bf23ba831d61a26e576cc2739f241560468c397 Mon Sep 17 00:00:00 2001 From: Herve Boutemy Date: Thu, 17 May 2012 22:22:49 +0000 Subject: [PATCH] fixed documentation for latests changes (DependencyScope -> ResolutionScope, expression -> property, removal of readonly and required from Component) git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1339889 13f79535-47bb-0310-9956-ffa450edef68 --- maven-plugin-tools-annotations/src/site/apt/index.apt | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/maven-plugin-tools-annotations/src/site/apt/index.apt b/maven-plugin-tools-annotations/src/site/apt/index.apt index ced4f30..3ff8c42 100644 --- a/maven-plugin-tools-annotations/src/site/apt/index.apt +++ b/maven-plugin-tools-annotations/src/site/apt/index.apt @@ -36,7 +36,7 @@ Maven Plugin Tool for Annotations +---------+ import org.apache.maven.plugin.AbstractMojo; -import org.apache.maven.plugins.annotations.DependencyScope; +import org.apache.maven.plugins.annotations.ResolutionScope; import org.apache.maven.plugins.annotations.Component; import org.apache.maven.plugins.annotations.Execute; import org.apache.maven.plugins.annotations.InstanciationStrategy; @@ -56,8 +56,8 @@ import org.apache.maven.plugins.annotations.Parameter; inheritByDefault = , instantiationStrategy = InstanciationStrategy., defaultPhase = "", - requiresDependencyResolution = DependencyScope., - requiresDependencyCollection = DependencyScope., // (since Maven 3.0) + requiresDependencyResolution = ResolutionScope., + requiresDependencyCollection = ResolutionScope., // (since Maven 3.0) requiresDirectInvocation = , requiresOnline = , requiresProject = , @@ -74,7 +74,7 @@ public class MyMojo * @deprecated */ @Parameter( alias = "myAlias", - expression = "aSystemProperty", + property = "aProperty", defaultValue = "${anExpression}", readonly = required = ) @@ -86,8 +86,6 @@ public class MyMojo */ @Component( role = "...", roleHint="..." ) - // @readonly - // @required private MyComponent component; public void execute()