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/06/04 23:29:48 UTC

svn commit: r1346166 - /maven/plugin-tools/trunk/maven-plugin-tools-generators/src/main/resources/help-class-source.vm

Author: hboutemy
Date: Mon Jun  4 21:29:47 2012
New Revision: 1346166

URL: http://svn.apache.org/viewvc?rev=1346166&view=rev
Log:
[MPLUGIN-208] HelpMojo class generated by helpmojo goal uses deprecated expression="${propertyName}" annotation instead of property="propertyName"

Modified:
    maven/plugin-tools/trunk/maven-plugin-tools-generators/src/main/resources/help-class-source.vm

Modified: maven/plugin-tools/trunk/maven-plugin-tools-generators/src/main/resources/help-class-source.vm
URL: http://svn.apache.org/viewvc/maven/plugin-tools/trunk/maven-plugin-tools-generators/src/main/resources/help-class-source.vm?rev=1346166&r1=1346165&r2=1346166&view=diff
==============================================================================
--- maven/plugin-tools/trunk/maven-plugin-tools-generators/src/main/resources/help-class-source.vm (original)
+++ maven/plugin-tools/trunk/maven-plugin-tools-generators/src/main/resources/help-class-source.vm Mon Jun  4 21:29:47 2012
@@ -18,7 +18,7 @@ import java.util.List;
 
 /**
  * Display help information on maven-plugin-plugin.<br/>
- * Call <pre> mvn plugin:help -Ddetail=true -Dgoal=&lt;goal-name&gt;</pre> to display parameter details.
+ * Call <code>mvn plugin:help -Ddetail=true -Dgoal=&lt;goal-name&gt;</code> to display parameter details.
  * @author
  * @version
  * @goal help
@@ -31,57 +31,33 @@ public class HelpMojo
     /**
      * If <code>true</code>, display all settable properties for each goal.
      *
+     * @parameter property="detail" default-value="false"
      */
-    //@Parameter( expression = "${detail}", defaultValue = "false" )
-    //private boolean detail;
-
-    /**
-     * The name of the goal for which to show help. If unspecified, all goals will be displayed.
-     *
-     */
-    //@Parameter( expression = "${goal}" )
-    //private java.lang.String goal;
-
-    /**
-     * The maximum length of a display line, should be positive.
-     *
-     */
-    //@Parameter( expression = "${lineLength}", defaultValue = "80" )
-    //private int lineLength;
-
-    /**
-     * The number of spaces per indentation level, should be positive.
-     *
-     */
-    //@Parameter( expression = "${indentSize}", defaultValue = "2" )
-    //private int indentSize;
-
-    /**
-     * If <code>true</code>, display all settable properties for each goal.
-     *
-     * @parameter expression="${detail}" default-value="false"
-     */
+    //@Parameter( property = "detail", defaultValue = "false" )
     private boolean detail;
 
     /**
      * The name of the goal for which to show help. If unspecified, all goals will be displayed.
      *
-     * @parameter expression="${goal}"
+     * @parameter property="goal"
      */
+    //@Parameter( property = "${goal}" )
     private java.lang.String goal;
 
     /**
      * The maximum length of a display line, should be positive.
      *
-     * @parameter expression="${lineLength}" default-value="80"
+     * @parameter property="lineLength" default-value="80"
      */
+    //@Parameter( property = "lineLength", defaultValue = "80" )
     private int lineLength;
 
     /**
      * The number of spaces per indentation level, should be positive.
      *
-     * @parameter expression="${indentSize}" default-value="2"
+     * @parameter property="indentSize" default-value="2"
      */
+    //@Parameter( property = "indentSize", defaultValue = "2" )
     private int indentSize;
 
     // groupId/artifactId/plugin-help.xml