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
            Priority: Minor


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

        

Reply via email to