You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Herve Boutemy (JIRA)" <ji...@codehaus.org> on 2010/04/18 10:42:13 UTC

[jira] Closed: (MPMD-83) Use proper file encoding for Non-HTML reports

     [ http://jira.codehaus.org/browse/MPMD-83?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Herve Boutemy closed MPMD-83.
-----------------------------

       Resolution: Fixed
    Fix Version/s: 2.5
         Assignee: Herve Boutemy

for CPD report, the problem is not related to MPMD-93, but to a more specific CPD report bug: report file in site directory was using platform encoding, where the same report in target directory was using UTF-8

fixed in r935316: now both files use UTF-8

> Use proper file encoding for Non-HTML reports
> ---------------------------------------------
>
>                 Key: MPMD-83
>                 URL: http://jira.codehaus.org/browse/MPMD-83
>             Project: Maven 2.x PMD Plugin
>          Issue Type: Bug
>          Components: CPD, PMD
>    Affects Versions: 2.4
>            Reporter: Benjamin Bentmann
>            Assignee: Herve Boutemy
>            Priority: Minor
>             Fix For: 2.5
>
>
> The plugin currently uses {{FileWriter}} to output Non-HTML reports. This includes in particular the XML report where the employed encoding must match the XML declaration.
> It appears Non-HTML reports should be classified by the plugin (somehow) into two groups: XML-based and plain text. For the first group, use the XML writer from plexus-utils. For the later, use the configured output encoding for reports (see also [Reporting Encoding Configuration|http://docs.codehaus.org/display/MAVEN/Reporting+Encoding+Configuration]).

-- 
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