diff --git a/maven-plugin-tools-annotations/src/site/apt/index.apt b/maven-plugin-tools-annotations/src/site/apt/index.apt index 3ff8c42..e1e9fcd 100644 --- a/maven-plugin-tools-annotations/src/site/apt/index.apt +++ b/maven-plugin-tools-annotations/src/site/apt/index.apt @@ -45,17 +45,17 @@ import org.apache.maven.plugins.annotations.Mojo; import org.apache.maven.plugins.annotations.Parameter; /** - * Mojo Description. @Mojo( name = "" ) is the minimal required annotation. + * Mojo Description. @Mojo( name = "" ) is the minimal required annotation. * @since * @deprecated */ -@Mojo( name = "", +@Mojo( name = "", aggregator = , - configurator = "", + configurator = "", executionStrategy = "", inheritByDefault = , instantiationStrategy = InstanciationStrategy., - defaultPhase = "", + defaultPhase = "", requiresDependencyResolution = ResolutionScope., requiresDependencyCollection = ResolutionScope., // (since Maven 3.0) requiresDirectInvocation = , @@ -63,9 +63,9 @@ import org.apache.maven.plugins.annotations.Parameter; requiresProject = , requiresReports = , // (unsupported since Maven 3.0) threadSafe = ) // (since Maven 3.0) -@Execute( goal = "", +@Execute( goal = "", phase = LifecyclePhase. - lifecycle = "" ) + lifecycle = "" ) public class MyMojo extends AbstractMojo { @@ -74,8 +74,8 @@ public class MyMojo * @deprecated */ @Parameter( alias = "myAlias", - property = "aProperty", - defaultValue = "${anExpression}", + property = "a.property", + defaultValue = "an expression with ${variables} eventually", readonly = required = ) private String parameter; @@ -84,8 +84,8 @@ public class MyMojo * @since * @deprecated */ - @Component( role = "...", - roleHint="..." ) + @Component( role = MyComponentExtension.class, + roleHint = "..." ) private MyComponent component; public void execute()