You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Benjamin Bentmann (JIRA)" <ji...@codehaus.org> on 2008/06/29 10:52:26 UTC

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

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

        

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

Posted by "Herve Boutemy (JIRA)" <ji...@codehaus.org>.
     [ 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

done in r935423.

> 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

        

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

Posted by "Herve Boutemy (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MPMD-83?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Herve Boutemy updated MPMD-83:
------------------------------

    Comment: was deleted

(was: 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
>
> 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

        

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

Posted by "Herve Boutemy (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MPMD-83?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Herve Boutemy updated MPMD-83:
------------------------------

    Fix Version/s:     (was: 2.5)
         Assignee:     (was: Herve Boutemy)

> 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

        

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

Posted by "Herve Boutemy (JIRA)" <ji...@codehaus.org>.
     [ 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

        

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

Posted by "Herve Boutemy (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MPMD-83?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Herve Boutemy reopened MPMD-83:
-------------------------------


> 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