A simple fix for this is to patch the plugin to support an explicit jiraUrl
configuration property which, if defined, is used in preference to the
<issueManagement><url> to generate the correct XML based page link.We did
this in 5 minutes to enable the JIRA report to be included in a recent
demo - I'll create a JIRA and submit a patch.
A more sophistaticated solution would try and use the URI details from
<issueManagement><url> to determine the correct parameters to pass to the
XML specific URL defined in the plugin configuration unfortunately the two
URLS dont use the same parameter format, the HTML page used project 'names'
and the XML URL uses project IDs... A solution might be out there with a bit
more JIRA experimentation...
J
----- Original Message -----
From: "Mike Perham" <[EMAIL PROTECTED]>
To: "Maven Users List" <users@maven.apache.org>
Sent: Tuesday, April 18, 2006 2:22 PM
Subject: RE: Jira Changes plugin
The JIRA changes report does not work with JIRA 3.x.
Try downloading by hand the URL it prints out below. JIRA is returning
an HTML error page instead of the expected XML content.
-----Original Message-----
From: javed mandary [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 18, 2006 4:50 AM
To: Maven Users List
Subject: Jira Changes plugin
Hi ,
am getting a problem with the changes-maven-plugin , i keep getting
a stack trace error each time i execute mvn site
Here is the configuration in my POM
---------POM----------
[...]
<issueManagement>
<system>Jira</system>
<url>https://thisis.mycompany.com/issues/browse/MYPROJECT</url>
</issueManagement>
[...]
<reporting>
[...]
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>changes-maven-plugin</artifactId>
</plugin>
[...]
</reporting>
--------END POM--------
This is the stack trace am getting:
----------ERROR TRACE----------
[INFO] Downloading
https://thisis.mycompany.com/issues/browse/secure/IssueNavigator.
jspa?view=rss&pid=&sorter/field=created&sorter/order=DESC&sorter/field=p
riority&so
rter/order=DESC&tempMax=100&reset=true&decorator=none
[WARNING] Received: [407]
org.xml.sax.SAXParseException: White spaces are required between
publicId and syst emId.
at
com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXPa
rseException(ErrorHandlerWrapper.java:236)
at
com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(
ErrorHandlerWrapper.java:215)
at
com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XM
LErrorReporter.java:386)
at
com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XM
LErrorReporter.java:316)
at
com.sun.org.apache.xerces.internal.impl.XMLScanner.reportFatalError(XML
Scanner.java:1438)
at
com.sun.org.apache.xerces.internal.impl.XMLScanner.scanExternalID
(XMLSc
anner.java:1024)
at
com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.scanDoct
--------END ERROR TRACE----------
Does anyone who why am getting this error message?
thanks,
Javed
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]