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}}