Romain PELISSE created MPMD-216:
-----------------------------------

             Summary: includeTests is not working properly
                 Key: MPMD-216
                 URL: https://issues.apache.org/jira/browse/MPMD-216
             Project: Maven PMD Plugin
          Issue Type: Bug
          Components: PMD
    Affects Versions: 3.5
            Reporter: Romain PELISSE


According to the plugin documentation, if the includeTests value is set to 
"true", PMD should check - during pmd:check phase, that java files in the 
testSourceDirectory does not have any violations.

However, if you unzip the attach project and run:

$ mvn pmd:check

You'll see that the test files are NOT checked. If you simply rename tthe 
src/test in src/main (or use link), and run again, you can see PMD is indeed 
checking the code.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to