Author: dennisl
Date: Mon Sep 10 17:32:03 2012
New Revision: 1382994

URL: http://svn.apache.org/viewvc?rev=1382994&view=rev
Log:
[MCHANGES-285] SAXException parsing JIRA XML from JIRA 5.1 

- Add more documentation.

Modified:
    
maven/plugins/trunk/maven-changes-plugin/src/site/apt/examples/customizing-jira-report.apt.vm

Modified: 
maven/plugins/trunk/maven-changes-plugin/src/site/apt/examples/customizing-jira-report.apt.vm
URL: 
http://svn.apache.org/viewvc/maven/plugins/trunk/maven-changes-plugin/src/site/apt/examples/customizing-jira-report.apt.vm?rev=1382994&r1=1382993&r2=1382994&view=diff
==============================================================================
--- 
maven/plugins/trunk/maven-changes-plugin/src/site/apt/examples/customizing-jira-report.apt.vm
 (original)
+++ 
maven/plugins/trunk/maven-changes-plugin/src/site/apt/examples/customizing-jira-report.apt.vm
 Mon Sep 10 17:32:03 2012
@@ -35,6 +35,35 @@ Customizing the JIRA Report
  feature was added in which version.
 
 
+* What version of JIRA are you using?
+
+ Depending on which version of JIRA you use, you might need to add bits of
+ configuration to make the JIRA Report work properly. Starting with JIRA 5.1 it
+ is no longer possible to ask JIRA questions using query parameters. If you use
+ JIRA 5.1 or newer you must add this configuration, or else you will see a
+ stack trace saying something like "Caused by: org.xml.sax.SAXParseException".
+
++-----------------+
+<project>
+  ...
+  <reporting>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-changes-plugin</artifactId>
+        <version>${project.version}</version>
+        <configuration>
+          <useJql>true</useJql>
+        </configuration>
+        ...
+      </plugin>
+    </plugins>
+  </reporting>
+  ...
+</project>
++-----------------+
+
+
 * Selecting version(s)
 
  We'll start off by creating a JIRA Report for one or more versions of your


Reply via email to