Maven PMD Plugin
  1. Maven PMD Plugin
  2. MPMD-83

Use proper file encoding for Non-HTML reports

    Details

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

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

        Issue Links

          Activity

          Hide
          Herve Boutemy added a comment -

          done in r935423.

          Show
          Herve Boutemy added a comment - done in r935423.

            People

            • Assignee:
              Herve Boutemy
              Reporter:
              Benjamin Bentmann
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: