Hi Benjamin,
I step in the same problem here, running the plugin on Windows (pt_BR locale, ISO-8859-1 encoding).
I was able to bypass this error setting the system property -Dfile.encoding=UTF-8 when running Maven2, so your comment about plataform encoding is probably right. I'll try to attach the generated files.
Here is the stacktrace:
WARNING: Going to buffer response body of large or unknown size. Using getResponseBodyAsStream instead is recommended.
org.apache.xerces.impl.io.MalformedByteSequenceException: Invalid byte 2 of 3-byte UTF-8 sequence.
at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source)
at org.apache.xerces.util.ErrorHandlerWrapper.fatalError(Unknown Source)
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
at org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:331)
at org.apache.maven.plugin.jira.JiraXML.<init>(JiraXML.java:66)
at org.apache.maven.plugin.jira.JiraReportGenerator.<init>(JiraReportGenerator.java:93)
at org.apache.maven.plugin.jira.JiraMojo.executeReport(JiraMojo.java:249)
at org.apache.maven.reporting.AbstractMavenReport.generate(AbstractMavenReport.java:131)
at org.apache.maven.plugin.changes.AbstractChangesReport.execute(AbstractChangesReport.java:172)
And here is the GET respose from the Jira server:
HTTP/1.0 200 OK
Date: Wed, 16 Dec 2009 13:36:19 GMT
Server: Apache
Cache-Control: no-cache, no-store, must-revalidate
Pragma: no-cache
Expires: Wed, 31 Dec 1969 23:59:59 GMT
Content-Type: text/xml;charset=ISO-8859-1
X-Cache: MISS from xxxx
X-Cache-Lookup: MISS from xxxx:3128
Via: 1.0 pedra:3128 (squid/2.6.STABLE6)
Proxy-Connection: close
<!-- RSS generated by JIRA (Enterprise Edition, Version: 3.12.3-#302) at Wed Dec 16 11:36:19 BRST 2009 -->
<!-- If you wish to do custom client-side styling of RSS, uncomment this:
XML has an encoding declaration, so a parameter on the plugin shouldn't be necessary. Can you attach the XML file downloaded by the plugin, i.e. {{$
{project.build.directory}/jira-results.xml}}. It's written using platform encoding and I suspect that's where it gets messed up.