Maven 1.x PMD Plugin

Allow custom JSL stylesheet to be defined via a property

Details

  • Type: Wish Wish
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 1.9
  • Fix Version/s: 1.10
  • Component/s: None
  • Labels:
    None
  • Environment:
    maven 1.1 beta 2
  • Number of attachments :
    1

Description

The shipped pmd.jsl hides a lot of info that is produced by the PMD report. An example is the priority field for each flagged issue. Would it be possible to add a new property to allow the user to supply the path to their own JSL stylesheet to be used when generating the xdoc report?

Activity

Hide
Lukas Theussl added a comment -

It's certainly possible, especially if a patch is supplied.
However, if you have a custom stylesheet that accomplishes what you want, it'd be nice if you could provide a patch for pmd.jsl, so that other users can profit from it, too!

Show
Lukas Theussl added a comment - It's certainly possible, especially if a patch is supplied. However, if you have a custom stylesheet that accomplishes what you want, it'd be nice if you could provide a patch for pmd.jsl, so that other users can profit from it, too!
Hide
James Dempsey added a comment -

The attached stylesheet includes a breakdown of priority totals for the project and for each file. It also sorts the errors for each file by priority and lists the priority against each error. See http://pcgen.sourceforge.net/autobuilds/pmd-report.html for the output on a large project.

Show
James Dempsey added a comment - The attached stylesheet includes a breakdown of priority totals for the project and for each file. It also sorts the errors for each file by priority and lists the priority against each error. See http://pcgen.sourceforge.net/autobuilds/pmd-report.html for the output on a large project.

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: