jira.codehaus.org

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What?s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • Maven 1.x PMD Plugin
  • MPPMD-1

PMD exclusion property only accepts one exclusion

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: None
  • Fix Version/s: None
  • Labels:
    None

Description

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.

Activity

  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
dion gillard added a comment - 20/Nov/03 9:38 AM

Fixed in 1.3-SNAPSHOT of the PMD plugin

Show
dion gillard added a comment - 20/Nov/03 9:38 AM Fixed in 1.3-SNAPSHOT of the PMD plugin

People

  • Assignee:
    Unassigned
    Reporter:
    Nick Giles
Vote (0)
Watch (0)

Dates

  • Created:
    20/Nov/03 8:25 AM
    Updated:
    30/Nov/03 9:55 PM
    Resolved:
    20/Nov/03 9:38 AM
  • Atlassian JIRA (v5.0.4#731-sha1:3aa7374)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.