[
https://issues.apache.org/jira/browse/MPMD-216?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Romain PELISSE updated MPMD-216:
--------------------------------
Attachment: pmd-reproducer-fixed.zip
> 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
> Attachments: pmd-issue-reproducer.zip, pmd-reproducer-fixed.zip
>
>
> 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)