Index: xdocs/changes.xml
===================================================================
--- xdocs/changes.xml	(revision 496192)
+++ xdocs/changes.xml	(working copy)
@@ -23,6 +23,9 @@
     <author email="vmassol@apache.org">Vincent Massol</author> 
   </properties>  
   <body> 
+    <release version="1.7.1-SNAPSHOT" date="In SVN"> 
+      <action dev="dennisl" type="add" issue="MPCHANGES-33">Make it possible to configure the location of the changes.xml file.</action>
+    </release>  
     <release version="1.7" date="2006-10-29"> 
       <action dev="ltheussl" type="fix" issue="MPCHANGES-31">
         <code>changes:release-version</code> removes spaces after closing tags.
Index: project.xml
===================================================================
--- project.xml	(revision 496192)
+++ project.xml	(working copy)
@@ -22,7 +22,7 @@
   <pomVersion>3</pomVersion>
   <id>maven-changes-plugin</id>
   <name>Maven Changes Plugin</name>
-  <currentVersion>1.7</currentVersion>
+  <currentVersion>1.7.1-SNAPSHOT</currentVersion>
   <shortDescription>Produce changes report</shortDescription>
   <versions>
     <version>
Index: plugin.properties
===================================================================
--- plugin.properties	(revision 496192)
+++ plugin.properties	(working copy)
@@ -49,4 +49,7 @@
 maven.changes.sort.order = add,fix,update,remove
 
 # To force an encoding for the changes.xml file
-# maven.changes.outputencoding = 
\ No newline at end of file
+# maven.changes.outputencoding = 
+
+# The location of the changes.xml file
+maven.changes.file = ${maven.docs.src}/changes.xml
\ No newline at end of file
Index: plugin.jelly
===================================================================
--- plugin.jelly	(revision 496192)
+++ plugin.jelly	(working copy)
@@ -29,13 +29,14 @@
 
   <goal name="changes:init">
     <available
-        file="${maven.docs.src}/changes.xml"
+        file="${maven.changes.file}"
         property="changesFileAvailable"/>
   </goal>
 
   <goal name="maven-changes-plugin:register">
-    <util:file var="changes" name="${maven.docs.src}/changes.xml"/>
+    <util:file var="changes" name="${maven.changes.file}"/>
     <j:if test="${changes.exists()}">
+      <echo>Using the file '${maven.changes.file}' for the changes report.</echo>
       <doc:registerReport 
         name="Changes" 
         pluginName="changes"
@@ -60,7 +61,7 @@
     <j:if test="${changesFileAvailable}">
 
     <doc:jsl
-      input="${maven.docs.src}/changes.xml"
+      input="${maven.changes.file}"
       output="changes-report.xml"
       stylesheet="${plugin.resources}/changes.jsl"
       encoding="${maven.docs.outputencoding}"
@@ -74,7 +75,7 @@
 
     <!-- Generate a RSS feed of the changes -->
     <doc:jsl
-      input="${maven.docs.src}/changes.xml"
+      input="${maven.changes.file}"
       output="changes.rss"
       stylesheet="${plugin.resources}/changes2rss.jsl"
       encoding="${maven.docs.outputencoding}"
@@ -102,7 +103,7 @@
     <j:if test="${changesFileAvailable}">
         <plugin:validate-xml
             schema="${plugin.resources}/xsd/changes.xsd"
-            file="${maven.docs.src}/changes.xml"/>
+            file="${maven.changes.file}"/>
     </j:if>
 
   </goal>
@@ -111,7 +112,7 @@
   <define:taglib uri="changes:transform">
     <define:tag name="release-version">
       <j:useBean var="transformer" class="org.apache.maven.changes.ReleaseVersion"/>
-      <util:file var="f" name="${maven.docs.src}/changes.xml" />
+      <util:file var="f" name="${maven.changes.file}" />
       <!-- Set encoding if not set. -->
       <j:if test="${encoding == null}">
         <j:set var="encoding" value="${maven.changes.outputencoding}" />

