You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by hb...@apache.org on 2012/05/18 00:22:50 UTC

svn commit: r1339889 - /maven/plugin-tools/trunk/maven-plugin-tools-annotations/src/site/apt/index.apt

Author: hboutemy
Date: Thu May 17 22:22:49 2012
New Revision: 1339889

URL: http://svn.apache.org/viewvc?rev=1339889&view=rev
Log:
fixed documentation for latests changes (DependencyScope -> ResolutionScope, expression -> property, removal of readonly and required from Component)

Modified:
    maven/plugin-tools/trunk/maven-plugin-tools-annotations/src/site/apt/index.apt

Modified: maven/plugin-tools/trunk/maven-plugin-tools-annotations/src/site/apt/index.apt
URL: http://svn.apache.org/viewvc/maven/plugin-tools/trunk/maven-plugin-tools-annotations/src/site/apt/index.apt?rev=1339889&r1=1339888&r2=1339889&view=diff
==============================================================================
--- maven/plugin-tools/trunk/maven-plugin-tools-annotations/src/site/apt/index.apt (original)
+++ maven/plugin-tools/trunk/maven-plugin-tools-annotations/src/site/apt/index.apt Thu May 17 22:22:49 2012
@@ -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.annotati
        inheritByDefault = <true|false>,
        instantiationStrategy = InstanciationStrategy.<strategy>,
        defaultPhase = "<phaseName>",
-       requiresDependencyResolution = DependencyScope.<scope>,
-       requiresDependencyCollection = DependencyScope.<scope>, // (since Maven 3.0)
+       requiresDependencyResolution = ResolutionScope.<scope>,
+       requiresDependencyCollection = ResolutionScope.<scope>, // (since Maven 3.0)
        requiresDirectInvocation = <false|true>,
        requiresOnline = <false|true>,
        requiresProject = <true|false>,
@@ -74,7 +74,7 @@ public class MyMojo
      * @deprecated <deprecated-text>
      */
     @Parameter( alias = "myAlias",
-                expression = "aSystemProperty",
+                property = "aProperty",
                 defaultValue = "${anExpression}",
                 readonly = <false|true>
                 required = <false|true> )
@@ -86,8 +86,6 @@ public class MyMojo
      */
     @Component( role = "...",
                 roleHint="..." )
-     // @readonly
-     // @required
     private MyComponent component;
 
     public void execute()