Issue Details (XML | Word | Printable)

Key: MPPMD-27
Type: Wish Wish
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Lukas Theussl
Reporter: James Dempsey
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
Maven 1.x PMD Plugin

Allow custom JSL stylesheet to be defined via a property

Created: 06/Jul/06 10:50 PM   Updated: 06/Nov/06 07:56 AM   Resolved: 06/Nov/06 07:56 AM
Return to search
Component/s: None
Affects Version/s: 1.9
Fix Version/s: 1.10

Time Tracking:
Not Specified

File Attachments: 1. File pmd.jsl (13 kB)

Environment: maven 1.1 beta 2


 Description  « Hide

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?



Lukas Theussl added a comment - 09/Jul/06 09:03 AM

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!


James Dempsey added a comment - 13/Jul/06 05:28 PM

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.