You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Joël Royer (JIRA)" <ji...@codehaus.org> on 2008/06/04 14:06:54 UTC
[jira] Created: (MCHANGELOG-86) Error with outputEncoding parameter
set to UTF-8
Error with outputEncoding parameter set to UTF-8
------------------------------------------------
Key: MCHANGELOG-86
URL: http://jira.codehaus.org/browse/MCHANGELOG-86
Project: Maven 2.x Changelog Plugin
Issue Type: Bug
Affects Versions: 2.1
Environment: Windows XP Pro SP2, Maven 2.0.9, Java SE 1.5.0 Update 15, Subversion 1.4.6
Reporter: Joël Royer
Attachments: ScreenShot_2008-06-04_140551.png
When using UTF-8 as setting for the parameter outputEncoding, we've got this error:
[INFO] Generating "Change Log" report.
[INFO] Generating changed sets xml to: D:\devs\projects\Test\workspace\TestWebapp\target\changelog.xml
[INFO] Executing: svn --non-interactive log -v -r "{2008-05-05 11:45:19 +0000}:{
2008-06-05 11:45:19 +0000}" https://mysubversionsrv/svndev/test/trunk/TestWebapp
[INFO] Working directory: D:\devs\projects\Test\workspace\TestWebapp
[INFO] Generating "Developer Activity" report.
[INFO] Using existing changelog.xml...
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error during page generation
Embedded error: Error rendering Maven report: An error occurred while parsing D:
\devs\projects\Test\workspace\TestWebapp\target\changelog.xml
Invalid byte 1 of 1-byte UTF-8 sequence.
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 39 seconds
[INFO] Finished at: Wed Jun 04 13:45:23 CEST 2008
[INFO] Final Memory: 41M/63M
[INFO] ------------------------------------------------------------------------
The file changelog.xml contains the good header line (<?xml version="1.0" encoding="UTF-8"?>), but the file is encoded with ANSI UNIX charset
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (MCHANGELOG-86) Error with outputEncoding
parameter set to UTF-8
Posted by "Joël Royer (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MCHANGELOG-86?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=137357#action_137357 ]
Joël Royer commented on MCHANGELOG-86:
--------------------------------------
Here an extract of my pom.xml:
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
...
<reporting>
<plugins>
...
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-changelog-plugin</artifactId>
<configuration>
<outputEncoding>UTF-8</outputEncoding>
</configuration>
</plugin>
...
</plugins>
</reporting>
</project>
> Error with outputEncoding parameter set to UTF-8
> ------------------------------------------------
>
> Key: MCHANGELOG-86
> URL: http://jira.codehaus.org/browse/MCHANGELOG-86
> Project: Maven 2.x Changelog Plugin
> Issue Type: Bug
> Affects Versions: 2.1
> Environment: Windows XP Pro SP2, Maven 2.0.9, Java SE 1.5.0 Update 15, Subversion 1.4.6
> Reporter: Joël Royer
> Attachments: ScreenShot_2008-06-04_140551.png
>
>
> When using UTF-8 as setting for the parameter outputEncoding, we've got this error:
> [INFO] Generating "Change Log" report.
> [INFO] Generating changed sets xml to: D:\devs\projects\Test\workspace\TestWebapp\target\changelog.xml
> [INFO] Executing: svn --non-interactive log -v -r "{2008-05-05 11:45:19 +0000}:{
> 2008-06-05 11:45:19 +0000}" https://mysubversionsrv/svndev/test/trunk/TestWebapp
> [INFO] Working directory: D:\devs\projects\Test\workspace\TestWebapp
> [INFO] Generating "Developer Activity" report.
> [INFO] Using existing changelog.xml...
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] Error during page generation
> Embedded error: Error rendering Maven report: An error occurred while parsing D:
> \devs\projects\Test\workspace\TestWebapp\target\changelog.xml
> Invalid byte 1 of 1-byte UTF-8 sequence.
> [INFO] ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 39 seconds
> [INFO] Finished at: Wed Jun 04 13:45:23 CEST 2008
> [INFO] Final Memory: 41M/63M
> [INFO] ------------------------------------------------------------------------
> The file changelog.xml contains the good header line (<?xml version="1.0" encoding="UTF-8"?>), but the file is encoded with ANSI UNIX charset
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (MCHANGELOG-86) Error with outputEncoding
parameter set to UTF-8
Posted by "Olivier Lamy (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MCHANGELOG-86?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=174535#action_174535 ]
Olivier Lamy commented on MCHANGELOG-86:
----------------------------------------
fix apply in rev 769578.
Can you test with trunk or last SNAPSHOT ?
> Error with outputEncoding parameter set to UTF-8
> ------------------------------------------------
>
> Key: MCHANGELOG-86
> URL: http://jira.codehaus.org/browse/MCHANGELOG-86
> Project: Maven 2.x Changelog Plugin
> Issue Type: Bug
> Affects Versions: 2.1
> Environment: Windows XP Pro SP2, Maven 2.0.9, Java SE 1.5.0 Update 15, Subversion 1.4.6
> Reporter: Joël Royer
> Assignee: Olivier Lamy
> Fix For: 2.2
>
> Attachments: ScreenShot_2008-06-04_140551.png
>
>
> When using UTF-8 as setting for the parameter outputEncoding, we've got this error:
> [INFO] Generating "Change Log" report.
> [INFO] Generating changed sets xml to: D:\devs\projects\Test\workspace\TestWebapp\target\changelog.xml
> [INFO] Executing: svn --non-interactive log -v -r "{2008-05-05 11:45:19 +0000}:{
> 2008-06-05 11:45:19 +0000}" https://mysubversionsrv/svndev/test/trunk/TestWebapp
> [INFO] Working directory: D:\devs\projects\Test\workspace\TestWebapp
> [INFO] Generating "Developer Activity" report.
> [INFO] Using existing changelog.xml...
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] Error during page generation
> Embedded error: Error rendering Maven report: An error occurred while parsing D:
> \devs\projects\Test\workspace\TestWebapp\target\changelog.xml
> Invalid byte 1 of 1-byte UTF-8 sequence.
> [INFO] ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 39 seconds
> [INFO] Finished at: Wed Jun 04 13:45:23 CEST 2008
> [INFO] Final Memory: 41M/63M
> [INFO] ------------------------------------------------------------------------
> The file changelog.xml contains the good header line (<?xml version="1.0" encoding="UTF-8"?>), but the file is encoded with ANSI UNIX charset
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (MCHANGELOG-86) Error with outputEncoding
parameter set to UTF-8
Posted by "Olivier Lamy (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MCHANGELOG-86?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=174664#action_174664 ]
Olivier Lamy commented on MCHANGELOG-86:
----------------------------------------
Just adding a new way to read the changelog.xml.
Can you try with last SNAPSHOT ?
> Error with outputEncoding parameter set to UTF-8
> ------------------------------------------------
>
> Key: MCHANGELOG-86
> URL: http://jira.codehaus.org/browse/MCHANGELOG-86
> Project: Maven 2.x Changelog Plugin
> Issue Type: Bug
> Affects Versions: 2.1
> Environment: Windows XP Pro SP2, Maven 2.0.9, Java SE 1.5.0 Update 15, Subversion 1.4.6
> Reporter: Joël Royer
> Assignee: Olivier Lamy
> Fix For: 2.2
>
> Attachments: ScreenShot_2008-06-04_140551.png
>
>
> When using UTF-8 as setting for the parameter outputEncoding, we've got this error:
> [INFO] Generating "Change Log" report.
> [INFO] Generating changed sets xml to: D:\devs\projects\Test\workspace\TestWebapp\target\changelog.xml
> [INFO] Executing: svn --non-interactive log -v -r "{2008-05-05 11:45:19 +0000}:{
> 2008-06-05 11:45:19 +0000}" https://mysubversionsrv/svndev/test/trunk/TestWebapp
> [INFO] Working directory: D:\devs\projects\Test\workspace\TestWebapp
> [INFO] Generating "Developer Activity" report.
> [INFO] Using existing changelog.xml...
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] Error during page generation
> Embedded error: Error rendering Maven report: An error occurred while parsing D:
> \devs\projects\Test\workspace\TestWebapp\target\changelog.xml
> Invalid byte 1 of 1-byte UTF-8 sequence.
> [INFO] ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 39 seconds
> [INFO] Finished at: Wed Jun 04 13:45:23 CEST 2008
> [INFO] Final Memory: 41M/63M
> [INFO] ------------------------------------------------------------------------
> The file changelog.xml contains the good header line (<?xml version="1.0" encoding="UTF-8"?>), but the file is encoded with ANSI UNIX charset
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Updated: (MCHANGELOG-86) Error with outputEncoding parameter
set to UTF-8
Posted by "Olivier Lamy (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MCHANGELOG-86?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Olivier Lamy updated MCHANGELOG-86:
-----------------------------------
Assignee: Olivier Lamy
Fix Version/s: 2.2
> Error with outputEncoding parameter set to UTF-8
> ------------------------------------------------
>
> Key: MCHANGELOG-86
> URL: http://jira.codehaus.org/browse/MCHANGELOG-86
> Project: Maven 2.x Changelog Plugin
> Issue Type: Bug
> Affects Versions: 2.1
> Environment: Windows XP Pro SP2, Maven 2.0.9, Java SE 1.5.0 Update 15, Subversion 1.4.6
> Reporter: Joël Royer
> Assignee: Olivier Lamy
> Fix For: 2.2
>
> Attachments: ScreenShot_2008-06-04_140551.png
>
>
> When using UTF-8 as setting for the parameter outputEncoding, we've got this error:
> [INFO] Generating "Change Log" report.
> [INFO] Generating changed sets xml to: D:\devs\projects\Test\workspace\TestWebapp\target\changelog.xml
> [INFO] Executing: svn --non-interactive log -v -r "{2008-05-05 11:45:19 +0000}:{
> 2008-06-05 11:45:19 +0000}" https://mysubversionsrv/svndev/test/trunk/TestWebapp
> [INFO] Working directory: D:\devs\projects\Test\workspace\TestWebapp
> [INFO] Generating "Developer Activity" report.
> [INFO] Using existing changelog.xml...
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] Error during page generation
> Embedded error: Error rendering Maven report: An error occurred while parsing D:
> \devs\projects\Test\workspace\TestWebapp\target\changelog.xml
> Invalid byte 1 of 1-byte UTF-8 sequence.
> [INFO] ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 39 seconds
> [INFO] Finished at: Wed Jun 04 13:45:23 CEST 2008
> [INFO] Final Memory: 41M/63M
> [INFO] ------------------------------------------------------------------------
> The file changelog.xml contains the good header line (<?xml version="1.0" encoding="UTF-8"?>), but the file is encoded with ANSI UNIX charset
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Closed: (MCHANGELOG-86) Error with outputEncoding parameter
set to UTF-8
Posted by "Olivier Lamy (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MCHANGELOG-86?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Olivier Lamy closed MCHANGELOG-86.
----------------------------------
Resolution: Fixed
looks to be fixed.
Thanks for your testing time.
> Error with outputEncoding parameter set to UTF-8
> ------------------------------------------------
>
> Key: MCHANGELOG-86
> URL: http://jira.codehaus.org/browse/MCHANGELOG-86
> Project: Maven 2.x Changelog Plugin
> Issue Type: Bug
> Affects Versions: 2.1
> Environment: Windows XP Pro SP2, Maven 2.0.9, Java SE 1.5.0 Update 15, Subversion 1.4.6
> Reporter: Joël Royer
> Assignee: Olivier Lamy
> Fix For: 2.2
>
> Attachments: ScreenShot_2008-06-04_140551.png
>
>
> When using UTF-8 as setting for the parameter outputEncoding, we've got this error:
> [INFO] Generating "Change Log" report.
> [INFO] Generating changed sets xml to: D:\devs\projects\Test\workspace\TestWebapp\target\changelog.xml
> [INFO] Executing: svn --non-interactive log -v -r "{2008-05-05 11:45:19 +0000}:{
> 2008-06-05 11:45:19 +0000}" https://mysubversionsrv/svndev/test/trunk/TestWebapp
> [INFO] Working directory: D:\devs\projects\Test\workspace\TestWebapp
> [INFO] Generating "Developer Activity" report.
> [INFO] Using existing changelog.xml...
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] Error during page generation
> Embedded error: Error rendering Maven report: An error occurred while parsing D:
> \devs\projects\Test\workspace\TestWebapp\target\changelog.xml
> Invalid byte 1 of 1-byte UTF-8 sequence.
> [INFO] ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 39 seconds
> [INFO] Finished at: Wed Jun 04 13:45:23 CEST 2008
> [INFO] Final Memory: 41M/63M
> [INFO] ------------------------------------------------------------------------
> The file changelog.xml contains the good header line (<?xml version="1.0" encoding="UTF-8"?>), but the file is encoded with ANSI UNIX charset
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (MCHANGELOG-86) Error with outputEncoding
parameter set to UTF-8
Posted by "Joël Royer (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MCHANGELOG-86?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=174748#action_174748 ]
Joël Royer commented on MCHANGELOG-86:
--------------------------------------
It works. Great job!
> Error with outputEncoding parameter set to UTF-8
> ------------------------------------------------
>
> Key: MCHANGELOG-86
> URL: http://jira.codehaus.org/browse/MCHANGELOG-86
> Project: Maven 2.x Changelog Plugin
> Issue Type: Bug
> Affects Versions: 2.1
> Environment: Windows XP Pro SP2, Maven 2.0.9, Java SE 1.5.0 Update 15, Subversion 1.4.6
> Reporter: Joël Royer
> Assignee: Olivier Lamy
> Fix For: 2.2
>
> Attachments: ScreenShot_2008-06-04_140551.png
>
>
> When using UTF-8 as setting for the parameter outputEncoding, we've got this error:
> [INFO] Generating "Change Log" report.
> [INFO] Generating changed sets xml to: D:\devs\projects\Test\workspace\TestWebapp\target\changelog.xml
> [INFO] Executing: svn --non-interactive log -v -r "{2008-05-05 11:45:19 +0000}:{
> 2008-06-05 11:45:19 +0000}" https://mysubversionsrv/svndev/test/trunk/TestWebapp
> [INFO] Working directory: D:\devs\projects\Test\workspace\TestWebapp
> [INFO] Generating "Developer Activity" report.
> [INFO] Using existing changelog.xml...
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] Error during page generation
> Embedded error: Error rendering Maven report: An error occurred while parsing D:
> \devs\projects\Test\workspace\TestWebapp\target\changelog.xml
> Invalid byte 1 of 1-byte UTF-8 sequence.
> [INFO] ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 39 seconds
> [INFO] Finished at: Wed Jun 04 13:45:23 CEST 2008
> [INFO] Final Memory: 41M/63M
> [INFO] ------------------------------------------------------------------------
> The file changelog.xml contains the good header line (<?xml version="1.0" encoding="UTF-8"?>), but the file is encoded with ANSI UNIX charset
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Issue Comment Edited: (MCHANGELOG-86) Error with
outputEncoding parameter set to UTF-8
Posted by "Joël Royer (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MCHANGELOG-86?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=174603#action_174603 ]
Joël Royer edited comment on MCHANGELOG-86 at 4/29/09 8:43 AM:
---------------------------------------------------------------
The problem is still here with version 2.2-SNAPSHOT.
I'm now using Maven 2.1.0.
Here is the stacktrace generated with command "mvn -e ":
{noformat}
[INFO] Generating "Change Log" report.
[INFO] Using existing changelog.xml...
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error during page generation
Embedded error: Error rendering Maven report: An error occurred while parsing C:
\devs\projects\Test\workspace\TestWebapp\changelog.xml
Invalid byte 2 of 3-byte UTF-8 sequence.
[INFO] ------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Error during page genera
tion
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
ultLifecycleExecutor.java:703)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLi
fecycle(DefaultLifecycleExecutor.java:540)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau
ltLifecycleExecutor.java:519)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan
dleFailures(DefaultLifecycleExecutor.java:371)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen
ts(DefaultLifecycleExecutor.java:332)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi
fecycleExecutor.java:181)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:356)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:137)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:356)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.plugin.MojoExecutionException: Error during page gen
eration
at org.apache.maven.plugins.site.SiteMojo.execute(SiteMojo.java:105)
at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi
nManager.java:483)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
ultLifecycleExecutor.java:678)
... 16 more
Caused by: org.apache.maven.doxia.siterenderer.RendererException: Error renderin
g Maven report: An error occurred while parsing F:\Devs\temp\diarytools-api-1.0\
target\changelog.xml
at org.apache.maven.plugins.site.ReportDocumentRenderer.renderDocument(R
eportDocumentRenderer.java:149)
at org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.renderModule(
DefaultSiteRenderer.java:269)
at org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.render(Defaul
tSiteRenderer.java:101)
at org.apache.maven.plugins.site.SiteMojo.renderLocale(SiteMojo.java:133
)
at org.apache.maven.plugins.site.SiteMojo.execute(SiteMojo.java:100)
... 18 more
Caused by: org.apache.maven.reporting.MavenReportException: An error occurred wh
ile parsing C:\devs\projects\Test\workspace\TestWebapp\changelog.xml
at org.apache.maven.plugin.changelog.ChangeLogReport.getChangedSets(Chan
geLogReport.java:374)
at org.apache.maven.plugin.changelog.ChangeLogReport.executeReport(Chang
eLogReport.java:336)
at org.apache.maven.reporting.AbstractMavenReport.generate(AbstractMaven
Report.java:98)
at org.apache.maven.plugins.site.ReportDocumentRenderer.renderDocument(R
eportDocumentRenderer.java:139)
... 22 more
Caused by: com.sun.org.apache.xerces.internal.impl.io.MalformedByteSequenceExcep
tion: Invalid byte 2 of 3-byte UTF-8 sequence.
at com.sun.org.apache.xerces.internal.impl.io.UTF8Reader.invalidByte(UTF
8Reader.java:674)
at com.sun.org.apache.xerces.internal.impl.io.UTF8Reader.read(UTF8Reader
.java:398)
at com.sun.org.apache.xerces.internal.impl.XMLEntityScanner.load(XMLEnti
tyScanner.java:1742)
at com.sun.org.apache.xerces.internal.impl.XMLEntityScanner.scanData(XML
EntityScanner.java:1242)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImp
l.scanCDATASection(XMLDocumentFragmentScannerImpl.java:1646)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImp
l$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2977)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(X
MLDocumentScannerImpl.java:648)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImp
l.scanDocument(XMLDocumentFragmentScannerImpl.java:510)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(X
ML11Configuration.java:807)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(X
ML11Configuration.java:737)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.
java:107)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Ab
stractSAXParser.java:1205)
at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.p
arse(SAXParserImpl.java:522)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:395)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:198)
at org.apache.maven.plugin.changelog.ChangeLog.loadChangedSets(ChangeLog
.java:65)
at org.apache.maven.plugin.changelog.ChangeLogReport.getChangedSets(Chan
geLogReport.java:366)
... 25 more
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 47 seconds
[INFO] Finished at: Wed Apr 29 15:22:04 CEST 2009
[INFO] Final Memory: 53M/63M
[INFO] ------------------------------------------------------------------------
{noformat}
was (Author: jcmg):
The problem is still here with version 2.2-SNAPSHOT.
Here is the stacktrace generated with command "mvn -e ":
{noformat}
[INFO] Generating "Change Log" report.
[INFO] Using existing changelog.xml...
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error during page generation
Embedded error: Error rendering Maven report: An error occurred while parsing C:
\devs\projects\Test\workspace\TestWebapp\changelog.xml
Invalid byte 2 of 3-byte UTF-8 sequence.
[INFO] ------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Error during page genera
tion
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
ultLifecycleExecutor.java:703)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLi
fecycle(DefaultLifecycleExecutor.java:540)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau
ltLifecycleExecutor.java:519)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan
dleFailures(DefaultLifecycleExecutor.java:371)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen
ts(DefaultLifecycleExecutor.java:332)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi
fecycleExecutor.java:181)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:356)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:137)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:356)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.plugin.MojoExecutionException: Error during page gen
eration
at org.apache.maven.plugins.site.SiteMojo.execute(SiteMojo.java:105)
at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi
nManager.java:483)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
ultLifecycleExecutor.java:678)
... 16 more
Caused by: org.apache.maven.doxia.siterenderer.RendererException: Error renderin
g Maven report: An error occurred while parsing F:\Devs\temp\diarytools-api-1.0\
target\changelog.xml
at org.apache.maven.plugins.site.ReportDocumentRenderer.renderDocument(R
eportDocumentRenderer.java:149)
at org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.renderModule(
DefaultSiteRenderer.java:269)
at org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.render(Defaul
tSiteRenderer.java:101)
at org.apache.maven.plugins.site.SiteMojo.renderLocale(SiteMojo.java:133
)
at org.apache.maven.plugins.site.SiteMojo.execute(SiteMojo.java:100)
... 18 more
Caused by: org.apache.maven.reporting.MavenReportException: An error occurred wh
ile parsing C:\devs\projects\Test\workspace\TestWebapp\changelog.xml
at org.apache.maven.plugin.changelog.ChangeLogReport.getChangedSets(Chan
geLogReport.java:374)
at org.apache.maven.plugin.changelog.ChangeLogReport.executeReport(Chang
eLogReport.java:336)
at org.apache.maven.reporting.AbstractMavenReport.generate(AbstractMaven
Report.java:98)
at org.apache.maven.plugins.site.ReportDocumentRenderer.renderDocument(R
eportDocumentRenderer.java:139)
... 22 more
Caused by: com.sun.org.apache.xerces.internal.impl.io.MalformedByteSequenceExcep
tion: Invalid byte 2 of 3-byte UTF-8 sequence.
at com.sun.org.apache.xerces.internal.impl.io.UTF8Reader.invalidByte(UTF
8Reader.java:674)
at com.sun.org.apache.xerces.internal.impl.io.UTF8Reader.read(UTF8Reader
.java:398)
at com.sun.org.apache.xerces.internal.impl.XMLEntityScanner.load(XMLEnti
tyScanner.java:1742)
at com.sun.org.apache.xerces.internal.impl.XMLEntityScanner.scanData(XML
EntityScanner.java:1242)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImp
l.scanCDATASection(XMLDocumentFragmentScannerImpl.java:1646)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImp
l$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2977)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(X
MLDocumentScannerImpl.java:648)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImp
l.scanDocument(XMLDocumentFragmentScannerImpl.java:510)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(X
ML11Configuration.java:807)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(X
ML11Configuration.java:737)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.
java:107)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Ab
stractSAXParser.java:1205)
at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.p
arse(SAXParserImpl.java:522)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:395)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:198)
at org.apache.maven.plugin.changelog.ChangeLog.loadChangedSets(ChangeLog
.java:65)
at org.apache.maven.plugin.changelog.ChangeLogReport.getChangedSets(Chan
geLogReport.java:366)
... 25 more
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 47 seconds
[INFO] Finished at: Wed Apr 29 15:22:04 CEST 2009
[INFO] Final Memory: 53M/63M
[INFO] ------------------------------------------------------------------------
{noformat}
> Error with outputEncoding parameter set to UTF-8
> ------------------------------------------------
>
> Key: MCHANGELOG-86
> URL: http://jira.codehaus.org/browse/MCHANGELOG-86
> Project: Maven 2.x Changelog Plugin
> Issue Type: Bug
> Affects Versions: 2.1
> Environment: Windows XP Pro SP2, Maven 2.0.9, Java SE 1.5.0 Update 15, Subversion 1.4.6
> Reporter: Joël Royer
> Assignee: Olivier Lamy
> Fix For: 2.2
>
> Attachments: ScreenShot_2008-06-04_140551.png
>
>
> When using UTF-8 as setting for the parameter outputEncoding, we've got this error:
> [INFO] Generating "Change Log" report.
> [INFO] Generating changed sets xml to: D:\devs\projects\Test\workspace\TestWebapp\target\changelog.xml
> [INFO] Executing: svn --non-interactive log -v -r "{2008-05-05 11:45:19 +0000}:{
> 2008-06-05 11:45:19 +0000}" https://mysubversionsrv/svndev/test/trunk/TestWebapp
> [INFO] Working directory: D:\devs\projects\Test\workspace\TestWebapp
> [INFO] Generating "Developer Activity" report.
> [INFO] Using existing changelog.xml...
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] Error during page generation
> Embedded error: Error rendering Maven report: An error occurred while parsing D:
> \devs\projects\Test\workspace\TestWebapp\target\changelog.xml
> Invalid byte 1 of 1-byte UTF-8 sequence.
> [INFO] ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 39 seconds
> [INFO] Finished at: Wed Jun 04 13:45:23 CEST 2008
> [INFO] Final Memory: 41M/63M
> [INFO] ------------------------------------------------------------------------
> The file changelog.xml contains the good header line (<?xml version="1.0" encoding="UTF-8"?>), but the file is encoded with ANSI UNIX charset
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (MCHANGELOG-86) Error with outputEncoding
parameter set to UTF-8
Posted by "Joël Royer (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MCHANGELOG-86?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=171813#action_171813 ]
Joël Royer commented on MCHANGELOG-86:
--------------------------------------
Is anybody work on this issue?
> Error with outputEncoding parameter set to UTF-8
> ------------------------------------------------
>
> Key: MCHANGELOG-86
> URL: http://jira.codehaus.org/browse/MCHANGELOG-86
> Project: Maven 2.x Changelog Plugin
> Issue Type: Bug
> Affects Versions: 2.1
> Environment: Windows XP Pro SP2, Maven 2.0.9, Java SE 1.5.0 Update 15, Subversion 1.4.6
> Reporter: Joël Royer
> Attachments: ScreenShot_2008-06-04_140551.png
>
>
> When using UTF-8 as setting for the parameter outputEncoding, we've got this error:
> [INFO] Generating "Change Log" report.
> [INFO] Generating changed sets xml to: D:\devs\projects\Test\workspace\TestWebapp\target\changelog.xml
> [INFO] Executing: svn --non-interactive log -v -r "{2008-05-05 11:45:19 +0000}:{
> 2008-06-05 11:45:19 +0000}" https://mysubversionsrv/svndev/test/trunk/TestWebapp
> [INFO] Working directory: D:\devs\projects\Test\workspace\TestWebapp
> [INFO] Generating "Developer Activity" report.
> [INFO] Using existing changelog.xml...
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] Error during page generation
> Embedded error: Error rendering Maven report: An error occurred while parsing D:
> \devs\projects\Test\workspace\TestWebapp\target\changelog.xml
> Invalid byte 1 of 1-byte UTF-8 sequence.
> [INFO] ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 39 seconds
> [INFO] Finished at: Wed Jun 04 13:45:23 CEST 2008
> [INFO] Final Memory: 41M/63M
> [INFO] ------------------------------------------------------------------------
> The file changelog.xml contains the good header line (<?xml version="1.0" encoding="UTF-8"?>), but the file is encoded with ANSI UNIX charset
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (MCHANGELOG-86) Error with outputEncoding
parameter set to UTF-8
Posted by "Joël Royer (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MCHANGELOG-86?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=174603#action_174603 ]
Joël Royer commented on MCHANGELOG-86:
--------------------------------------
The problem is still here with version 2.2-SNAPSHOT.
Here is the stacktrace generated with command "mvn -e ":
{noformat}
[INFO] Generating "Change Log" report.
[INFO] Using existing changelog.xml...
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error during page generation
Embedded error: Error rendering Maven report: An error occurred while parsing C:
\devs\projects\Test\workspace\TestWebapp\changelog.xml
Invalid byte 2 of 3-byte UTF-8 sequence.
[INFO] ------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Error during page genera
tion
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
ultLifecycleExecutor.java:703)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLi
fecycle(DefaultLifecycleExecutor.java:540)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau
ltLifecycleExecutor.java:519)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan
dleFailures(DefaultLifecycleExecutor.java:371)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen
ts(DefaultLifecycleExecutor.java:332)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi
fecycleExecutor.java:181)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:356)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:137)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:356)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.plugin.MojoExecutionException: Error during page gen
eration
at org.apache.maven.plugins.site.SiteMojo.execute(SiteMojo.java:105)
at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi
nManager.java:483)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
ultLifecycleExecutor.java:678)
... 16 more
Caused by: org.apache.maven.doxia.siterenderer.RendererException: Error renderin
g Maven report: An error occurred while parsing F:\Devs\temp\diarytools-api-1.0\
target\changelog.xml
at org.apache.maven.plugins.site.ReportDocumentRenderer.renderDocument(R
eportDocumentRenderer.java:149)
at org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.renderModule(
DefaultSiteRenderer.java:269)
at org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.render(Defaul
tSiteRenderer.java:101)
at org.apache.maven.plugins.site.SiteMojo.renderLocale(SiteMojo.java:133
)
at org.apache.maven.plugins.site.SiteMojo.execute(SiteMojo.java:100)
... 18 more
Caused by: org.apache.maven.reporting.MavenReportException: An error occurred wh
ile parsing C:\devs\projects\Test\workspace\TestWebapp\changelog.xml
at org.apache.maven.plugin.changelog.ChangeLogReport.getChangedSets(Chan
geLogReport.java:374)
at org.apache.maven.plugin.changelog.ChangeLogReport.executeReport(Chang
eLogReport.java:336)
at org.apache.maven.reporting.AbstractMavenReport.generate(AbstractMaven
Report.java:98)
at org.apache.maven.plugins.site.ReportDocumentRenderer.renderDocument(R
eportDocumentRenderer.java:139)
... 22 more
Caused by: com.sun.org.apache.xerces.internal.impl.io.MalformedByteSequenceExcep
tion: Invalid byte 2 of 3-byte UTF-8 sequence.
at com.sun.org.apache.xerces.internal.impl.io.UTF8Reader.invalidByte(UTF
8Reader.java:674)
at com.sun.org.apache.xerces.internal.impl.io.UTF8Reader.read(UTF8Reader
.java:398)
at com.sun.org.apache.xerces.internal.impl.XMLEntityScanner.load(XMLEnti
tyScanner.java:1742)
at com.sun.org.apache.xerces.internal.impl.XMLEntityScanner.scanData(XML
EntityScanner.java:1242)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImp
l.scanCDATASection(XMLDocumentFragmentScannerImpl.java:1646)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImp
l$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2977)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(X
MLDocumentScannerImpl.java:648)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImp
l.scanDocument(XMLDocumentFragmentScannerImpl.java:510)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(X
ML11Configuration.java:807)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(X
ML11Configuration.java:737)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.
java:107)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Ab
stractSAXParser.java:1205)
at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.p
arse(SAXParserImpl.java:522)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:395)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:198)
at org.apache.maven.plugin.changelog.ChangeLog.loadChangedSets(ChangeLog
.java:65)
at org.apache.maven.plugin.changelog.ChangeLogReport.getChangedSets(Chan
geLogReport.java:366)
... 25 more
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 47 seconds
[INFO] Finished at: Wed Apr 29 15:22:04 CEST 2009
[INFO] Final Memory: 53M/63M
[INFO] ------------------------------------------------------------------------
{noformat}
> Error with outputEncoding parameter set to UTF-8
> ------------------------------------------------
>
> Key: MCHANGELOG-86
> URL: http://jira.codehaus.org/browse/MCHANGELOG-86
> Project: Maven 2.x Changelog Plugin
> Issue Type: Bug
> Affects Versions: 2.1
> Environment: Windows XP Pro SP2, Maven 2.0.9, Java SE 1.5.0 Update 15, Subversion 1.4.6
> Reporter: Joël Royer
> Assignee: Olivier Lamy
> Fix For: 2.2
>
> Attachments: ScreenShot_2008-06-04_140551.png
>
>
> When using UTF-8 as setting for the parameter outputEncoding, we've got this error:
> [INFO] Generating "Change Log" report.
> [INFO] Generating changed sets xml to: D:\devs\projects\Test\workspace\TestWebapp\target\changelog.xml
> [INFO] Executing: svn --non-interactive log -v -r "{2008-05-05 11:45:19 +0000}:{
> 2008-06-05 11:45:19 +0000}" https://mysubversionsrv/svndev/test/trunk/TestWebapp
> [INFO] Working directory: D:\devs\projects\Test\workspace\TestWebapp
> [INFO] Generating "Developer Activity" report.
> [INFO] Using existing changelog.xml...
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] Error during page generation
> Embedded error: Error rendering Maven report: An error occurred while parsing D:
> \devs\projects\Test\workspace\TestWebapp\target\changelog.xml
> Invalid byte 1 of 1-byte UTF-8 sequence.
> [INFO] ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 39 seconds
> [INFO] Finished at: Wed Jun 04 13:45:23 CEST 2008
> [INFO] Final Memory: 41M/63M
> [INFO] ------------------------------------------------------------------------
> The file changelog.xml contains the good header line (<?xml version="1.0" encoding="UTF-8"?>), but the file is encoded with ANSI UNIX charset
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Issue Comment Edited: (MCHANGELOG-86) Error with
outputEncoding parameter set to UTF-8
Posted by "Joël Royer (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MCHANGELOG-86?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=137357#action_137357 ]
jcmg edited comment on MCHANGELOG-86 at 6/4/08 7:14 AM:
--------------------------------------------------------------
Here an extract of my pom.xml:
{code:xml} <?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
...
<reporting>
<plugins>
...
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-changelog-plugin</artifactId>
<configuration>
<outputEncoding>UTF-8</outputEncoding>
</configuration>
</plugin>
...
</plugins>
</reporting>
</project>{code}
was (Author: jcmg):
Here an extract of my pom.xml:
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
...
<reporting>
<plugins>
...
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-changelog-plugin</artifactId>
<configuration>
<outputEncoding>UTF-8</outputEncoding>
</configuration>
</plugin>
...
</plugins>
</reporting>
</project>
> Error with outputEncoding parameter set to UTF-8
> ------------------------------------------------
>
> Key: MCHANGELOG-86
> URL: http://jira.codehaus.org/browse/MCHANGELOG-86
> Project: Maven 2.x Changelog Plugin
> Issue Type: Bug
> Affects Versions: 2.1
> Environment: Windows XP Pro SP2, Maven 2.0.9, Java SE 1.5.0 Update 15, Subversion 1.4.6
> Reporter: Joël Royer
> Attachments: ScreenShot_2008-06-04_140551.png
>
>
> When using UTF-8 as setting for the parameter outputEncoding, we've got this error:
> [INFO] Generating "Change Log" report.
> [INFO] Generating changed sets xml to: D:\devs\projects\Test\workspace\TestWebapp\target\changelog.xml
> [INFO] Executing: svn --non-interactive log -v -r "{2008-05-05 11:45:19 +0000}:{
> 2008-06-05 11:45:19 +0000}" https://mysubversionsrv/svndev/test/trunk/TestWebapp
> [INFO] Working directory: D:\devs\projects\Test\workspace\TestWebapp
> [INFO] Generating "Developer Activity" report.
> [INFO] Using existing changelog.xml...
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] Error during page generation
> Embedded error: Error rendering Maven report: An error occurred while parsing D:
> \devs\projects\Test\workspace\TestWebapp\target\changelog.xml
> Invalid byte 1 of 1-byte UTF-8 sequence.
> [INFO] ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 39 seconds
> [INFO] Finished at: Wed Jun 04 13:45:23 CEST 2008
> [INFO] Final Memory: 41M/63M
> [INFO] ------------------------------------------------------------------------
> The file changelog.xml contains the good header line (<?xml version="1.0" encoding="UTF-8"?>), but the file is encoded with ANSI UNIX charset
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (MCHANGELOG-86) Error with outputEncoding
parameter set to UTF-8
Posted by "Olivier Lamy (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MCHANGELOG-86?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=174532#action_174532 ]
Olivier Lamy commented on MCHANGELOG-86:
----------------------------------------
could you attach the generated changelog.xml and a log with running mvn with -e ?
> Error with outputEncoding parameter set to UTF-8
> ------------------------------------------------
>
> Key: MCHANGELOG-86
> URL: http://jira.codehaus.org/browse/MCHANGELOG-86
> Project: Maven 2.x Changelog Plugin
> Issue Type: Bug
> Affects Versions: 2.1
> Environment: Windows XP Pro SP2, Maven 2.0.9, Java SE 1.5.0 Update 15, Subversion 1.4.6
> Reporter: Joël Royer
> Attachments: ScreenShot_2008-06-04_140551.png
>
>
> When using UTF-8 as setting for the parameter outputEncoding, we've got this error:
> [INFO] Generating "Change Log" report.
> [INFO] Generating changed sets xml to: D:\devs\projects\Test\workspace\TestWebapp\target\changelog.xml
> [INFO] Executing: svn --non-interactive log -v -r "{2008-05-05 11:45:19 +0000}:{
> 2008-06-05 11:45:19 +0000}" https://mysubversionsrv/svndev/test/trunk/TestWebapp
> [INFO] Working directory: D:\devs\projects\Test\workspace\TestWebapp
> [INFO] Generating "Developer Activity" report.
> [INFO] Using existing changelog.xml...
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] Error during page generation
> Embedded error: Error rendering Maven report: An error occurred while parsing D:
> \devs\projects\Test\workspace\TestWebapp\target\changelog.xml
> Invalid byte 1 of 1-byte UTF-8 sequence.
> [INFO] ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 39 seconds
> [INFO] Finished at: Wed Jun 04 13:45:23 CEST 2008
> [INFO] Final Memory: 41M/63M
> [INFO] ------------------------------------------------------------------------
> The file changelog.xml contains the good header line (<?xml version="1.0" encoding="UTF-8"?>), but the file is encoded with ANSI UNIX charset
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira