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()