You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Dennis Lundberg (JIRA)" <ji...@codehaus.org> on 2011/01/23 19:14:58 UTC
[jira] Closed: (MCHANGES-197) Add parameter for output encoding
[ http://jira.codehaus.org/browse/MCHANGES-197?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dennis Lundberg closed MCHANGES-197.
------------------------------------
Resolution: Fixed
Fixed in [r1062482|http://svn.apache.org/viewvc?view=revision&revision=1062482].
New 2.4-SNAPSHOT deployed. Please test.
The new parameter is called "outputEncoding". It will default to ${project.reporting.outputEncoding} as per https://cwiki.apache.org/confluence/display/MAVENOLD/Reporting+Encoding+Configuration
> Add parameter for output encoding
> ---------------------------------
>
> Key: MCHANGES-197
> URL: http://jira.codehaus.org/browse/MCHANGES-197
> Project: Maven 2.x Changes Plugin
> Issue Type: New Feature
> Components: changes.xml
> Affects Versions: 2.1, 2.3
> Environment: Win XP, JDK 1.6.0_18, Maven 2.2.1
> Reporter: Bruno Marti
> Assignee: Dennis Lundberg
> Fix For: 2.4
>
> Attachments: changes_encoding.zip, screenshot-1.jpg, screenshot-2.jpg
>
>
> Add an additional parameter to define the output encoding like in site-plugin.
> _<outputEncoding></outputEncoding>_
> If I generate the changes-report by changes:changes-report, I get this in the html output:
> {code:xml}
> <html xmlns="http://www.w3.org/1999/xhtml">
> <head>
> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
> ...
> {code}
> If I generate the same changes-report by site:site, I get this:
> {code:xml}
> <html xmlns="http://www.w3.org/1999/xhtml">
> <head>
> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
> {code}
> Whereas, here I've defined
> _<outputEncoding>ISO-8859-1</outputEncoding>_
> and as default in the parent pom
> _<project.reporting.outputEncoding>ISO-8859-1</project.reporting.outputEncoding>_
--
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