Issue Details (XML | Word | Printable)

Key: MPPMD-1
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Unassigned
Reporter: Nick Giles
Votes: 0
Watchers: 0
Operations

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

PMD exclusion property only accepts one exclusion

Created: 20/Nov/03 08:25 AM   Updated: 30/Nov/03 09:55 PM   Resolved: 20/Nov/03 09:38 AM
Return to search
Component/s: None
Affects Version/s: None
Fix Version/s: None

Time Tracking:
Not Specified


 Description  « Hide

When trying to exclude files from PMD analysis, it seems that a single exclusion pattern works fine, but as soon as I put in a comma separated list all the exclusions are ignored. For example:

maven.pmd.includes=com/foo/project/*/.java
maven.pmd.excludes=com/foo/project/package/SomeParser*.java

works fine, analysing everything except the SomeParser classes. However,

maven.pmd.includes=com/foo/project/*/.java
maven.pmd.excludes=com/foo/project/package/SomeParser*.java, com/foo/project/package/ADifferentParser*.java

causes the analyser to match as though only maven.pmd.includes was specified.



dion gillard added a comment - 20/Nov/03 09:38 AM

Fixed in 1.3-SNAPSHOT of the PMD plugin