You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by ji...@codehaus.org on 2003/11/20 16:39:12 UTC

[jira] Closed: (MAVEN-1044) PMD exclusion property only accepts one exclusion

Message:

   The following issue has been closed.

   Resolver: dion gillard
       Date: Thu, 20 Nov 2003 9:38 AM

Fixed in 1.3-SNAPSHOT of the PMD plugin
---------------------------------------------------------------------
View the issue:

  http://jira.codehaus.org/secure/ViewIssue.jspa?key=MAVEN-1044


Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MAVEN-1044
    Summary: PMD exclusion property only accepts one exclusion
       Type: Bug

     Status: Closed
   Priority: Minor
 Resolution: FIXED

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven
 Components: 
             plugin-pmd
   Fix Fors:
             1.0-rc2
   Versions:
             1.0-rc2

   Assignee: 
   Reporter: Nick Giles

    Created: Thu, 20 Nov 2003 8:25 AM
    Updated: Thu, 20 Nov 2003 9:38 AM

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.



---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org