Author: jdcasey
Date: Thu May 31 12:47:28 2007
New Revision: 543229

URL: http://svn.apache.org/viewvc?view=rev&rev=543229
Log:
Adding expression annotation to the output parameter, to allow specification of 
this parameter on the command line (esp. since it's unlikely that people would 
configure this particular plugin in their POM).

Modified:
    
maven/sandbox/trunk/plugins/maven-lifecycle-plugin/src/main/java/org/apache/maven/plugin/lifecycle/BuildPlanMojo.java

Modified: 
maven/sandbox/trunk/plugins/maven-lifecycle-plugin/src/main/java/org/apache/maven/plugin/lifecycle/BuildPlanMojo.java
URL: 
http://svn.apache.org/viewvc/maven/sandbox/trunk/plugins/maven-lifecycle-plugin/src/main/java/org/apache/maven/plugin/lifecycle/BuildPlanMojo.java?view=diff&rev=543229&r1=543228&r2=543229
==============================================================================
--- 
maven/sandbox/trunk/plugins/maven-lifecycle-plugin/src/main/java/org/apache/maven/plugin/lifecycle/BuildPlanMojo.java
 (original)
+++ 
maven/sandbox/trunk/plugins/maven-lifecycle-plugin/src/main/java/org/apache/maven/plugin/lifecycle/BuildPlanMojo.java
 Thu May 31 12:47:28 2007
@@ -36,7 +36,7 @@
 
 /**
  * Retrieves the build plan for the current project, and displays it to the 
logger's INFO log-level, or a file.
- * 
+ *
  * @goal build-plan
  */
 public class BuildPlanMojo
@@ -44,21 +44,21 @@
 {
     /**
      * File for writing the build-plan.
-     * 
-     * @parameter
+     *
+     * @parameter expression="${output}"
      */
     private File output;
 
     /**
      * Whether to list extended information about each mojo in the build plan. 
Default is false.
-     * 
+     *
      * @parameter expression="${extendedInfo}" default-value="false"
      */
     private boolean extendedInfo;
 
     /**
      * Comma-separated list of tasks to complete in the proposed build.
-     * 
+     *
      * @parameter expression="${tasks}" default-value="${package}"
      * @required
      */


Reply via email to