Author: dennisl
Date: Sat Jul 15 16:46:07 2006
New Revision: 422321

URL: http://svn.apache.org/viewvc?rev=422321&view=rev
Log:
[MCHANGES-43] Improve compatibility with the Maven 1 changes plugin

Modified:
    
maven/sandbox/plugins/maven-changes-plugin/src/main/java/org/apache/maven/changes/ChangesXML.java
    maven/sandbox/plugins/maven-changes-plugin/src/site/apt/usage.apt
    maven/sandbox/plugins/maven-changes-plugin/src/test/resources/changes.xml

Modified: 
maven/sandbox/plugins/maven-changes-plugin/src/main/java/org/apache/maven/changes/ChangesXML.java
URL: 
http://svn.apache.org/viewvc/maven/sandbox/plugins/maven-changes-plugin/src/main/java/org/apache/maven/changes/ChangesXML.java?rev=422321&r1=422320&r2=422321&view=diff
==============================================================================
--- 
maven/sandbox/plugins/maven-changes-plugin/src/main/java/org/apache/maven/changes/ChangesXML.java
 (original)
+++ 
maven/sandbox/plugins/maven-changes-plugin/src/main/java/org/apache/maven/changes/ChangesXML.java
 Sat Jul 15 16:46:07 2006
@@ -167,7 +167,7 @@
 
             release.setVersion( attrs.getValue( "version" ) );
 
-            release.setDescription( attrs.getValue( "desc" ) );
+            release.setDescription( attrs.getValue( "description" ) );
 
             actionList = new ArrayList();
         }

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=422321&r1=422320&r2=422321&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 Sat Jul 
15 16:46:07 2006
@@ -23,7 +23,7 @@
     <author email="[EMAIL PROTECTED]">Johnny R. Ruiz III</author>
   </properties>
   <body>
-    <release version="1.1" date="2005-03-01" desc="Subsequent release">
+    <release version="1.1" date="2005-03-01" description="Subsequent release">
       <action dev="jruiz" type="add">
         Added additional documentation on how to configure the plugin.
       </action>
@@ -36,7 +36,7 @@
       </action>
     </release>
 
-    <release version="1.0" date="2005-01-01" desc="First release">
+    <release version="1.0" date="2005-01-01" description="First release">
       <action dev="jruiz" type="update">
         Uploaded documentation on how to use the plugin.
       </action>
@@ -54,7 +54,7 @@
 
*--------------------+--------------*------------------------------------------------------------------------------------------+
 date                 | Required     |  Date at which the version was released. 
You can use a free form comment such as "in SVN" for unreleased versions.
 
*--------------------+--------------*------------------------------------------------------------------------------------------+
-desc                 | Optional     |  Summary describing the changes in a 
release.
+description          | Optional     |  An optional description of the release. 
This is used in the overview table of releases. <<Note:>> In releases prior to 
2.0-beta-2 this was called <<<desc>>>. It was changed to improve compatibility 
with the Maven 1 changes plugin.
 
*--------------------+--------------*------------------------------------------------------------------------------------------+
 
   The following attributes are supported for the <<<\<action\>>>> element:

Modified: 
maven/sandbox/plugins/maven-changes-plugin/src/test/resources/changes.xml
URL: 
http://svn.apache.org/viewvc/maven/sandbox/plugins/maven-changes-plugin/src/test/resources/changes.xml?rev=422321&r1=422320&r2=422321&view=diff
==============================================================================
--- maven/sandbox/plugins/maven-changes-plugin/src/test/resources/changes.xml 
(original)
+++ maven/sandbox/plugins/maven-changes-plugin/src/test/resources/changes.xml 
Sat Jul 15 16:46:07 2006
@@ -11,7 +11,7 @@
       </action>              
     </release>
 
-    <release version="1.0-SNAPSHOT" date="2003-06-05" desc="Sample 
Description">
+    <release version="1.0-SNAPSHOT" date="2003-06-05" description="Sample 
Description">
       <action dev="vmassol" type="add">Test
       </action>              
       <action dev="vmassol" type="fix" issue="JIRA-XXX">


Reply via email to