Maven 2.x PMD Plugin

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

Vote (0)
Watch (2)

Dates

  • Created:
    Updated:
    Resolved: