Uploaded image for project: 'Maven PMD Plugin'
  1. Maven PMD Plugin
  2. MPMD-83

Use proper file encoding for Non-HTML reports

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.4
    • Fix Version/s: 2.5
    • Component/s: CPD, PMD
    • Labels:
      None

      Description

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

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                hboutemy Hervé Boutemy
                Reporter:
                bentmann Benjamin Bentmann
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: