[ 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