[MPLUGIN-208] HelpMojo class generated by helpmojo goal uses deprecated expression="${propertyName}" annotation instead of property="propertyName"
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1346166 13f79535-47bb-0310-9956-ffa450edef68master
parent
017a3d5ca6
commit
030713aa69
|
|
@ -18,7 +18,7 @@ import java.util.List;
|
|||
|
||||
/**
|
||||
* Display help information on maven-plugin-plugin.<br/>
|
||||
* Call <pre> mvn plugin:help -Ddetail=true -Dgoal=<goal-name></pre> to display parameter details.
|
||||
* Call <code>mvn plugin:help -Ddetail=true -Dgoal=<goal-name></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
|
||||
|
|
|
|||
Loading…
Reference in New Issue