Author: dennisl
Date: Sun Jul 16 02:33:26 2006
New Revision: 422420

URL: http://svn.apache.org/viewvc?rev=422420&view=rev
Log:
Change the name of the link_template parameter to issueLinkTemplate in 
ChangesMojo, to better describe what it is

Modified:
    
maven/sandbox/plugins/maven-changes-plugin/src/main/java/org/apache/maven/changes/ChangesMojo.java
    maven/sandbox/plugins/maven-changes-plugin/src/site/apt/usage.apt

Modified: 
maven/sandbox/plugins/maven-changes-plugin/src/main/java/org/apache/maven/changes/ChangesMojo.java
URL: 
http://svn.apache.org/viewvc/maven/sandbox/plugins/maven-changes-plugin/src/main/java/org/apache/maven/changes/ChangesMojo.java?rev=422420&r1=422419&r2=422420&view=diff
==============================================================================
--- 
maven/sandbox/plugins/maven-changes-plugin/src/main/java/org/apache/maven/changes/ChangesMojo.java
 (original)
+++ 
maven/sandbox/plugins/maven-changes-plugin/src/main/java/org/apache/maven/changes/ChangesMojo.java
 Sun Jul 16 02:33:26 2006
@@ -74,11 +74,14 @@
      * There are 2 template tokens you can use. %URL%: this is computed by 
getting the
      * <issueManagement><url> value from the POM, and removing the 
context path. %ISSUE% :
      * this is the issue number.
+     * <p>
+     * <strong>Note:</strong> In versions of this plugin prior to 2.0-beta-2 
this parameter was called <code>link_template</code>.
+     * </p>
      * 
      * @parameter expression="%URL%/ViewIssue.jspa?key=%ISSUE%"
      *
      */
-    private String link_template;
+    private String issueLinkTemplate;
 
     /**
      * @parameter expression="${project.issueManagement.url}"
@@ -124,7 +127,7 @@
             getLog().warn( getBundle( locale ).getString( 
"report.changes.warn.url" ) );
         }
 
-        report.setIssueLink( link_template );
+        report.setIssueLink( issueLinkTemplate );
         report.setUrl( url );
         report.doGenerateReport( getBundle( locale ), getSink() );
 

Modified: maven/sandbox/plugins/maven-changes-plugin/src/site/apt/usage.apt
URL: 
http://svn.apache.org/viewvc/maven/sandbox/plugins/maven-changes-plugin/src/site/apt/usage.apt?rev=422420&r1=422419&r2=422420&view=diff
==============================================================================
--- maven/sandbox/plugins/maven-changes-plugin/src/site/apt/usage.apt (original)
+++ maven/sandbox/plugins/maven-changes-plugin/src/site/apt/usage.apt Sun Jul 
16 02:33:26 2006
@@ -67,7 +67,7 @@
 type                 | Required     |  Type of change. There are four valid 
values: <add>, <fix>, <remove>, <update>.
 
*--------------------+--------------*------------------------------------------------------------------------------------------+
 issue                | Optional     |  Id of the issue related to this change. 
This is the id in your issue tracking system.
-                     |              |  The Changes plugin will generate a URL 
out of this id. The URL is constructed using the value of the 
<<<link_template>>> parameter. See the 
{{{changes-report-mojo.html}changes-report mojo}} for more details.
+                     |              |  The Changes plugin will generate a URL 
out of this id. The URL is constructed using the value of the 
<<<issueLinkTemplate>>> parameter. See the 
{{{changes-report-mojo.html}changes-report mojo}} for more details.
 
*--------------------+--------------*------------------------------------------------------------------------------------------+
 due-to               | Optional     |  Name of the person to be credited for 
this change. This can be used when a patch is submitted by a non-committer.
 
*--------------------+--------------*------------------------------------------------------------------------------------------+


Reply via email to