Description
When trying to configure cpd and pmd differently (ie. includeTests for PMD, but not for CPD), the plugin does not honour configuration within the execution.
For example, if a ruleset file is specified in <configuration> within the <execution>, it is ignored, and the default ruleset is applied.
In the testcase:
$ mvn install
^ This fails with a PMD error, because the ruleset is ignored due to the <configuration> being within the <execution>
$ mvn install -Pwith-pmd-that-works
^ This passes, because it is a profile where the <configuration> is within <plugin>, not <execution>
Attachments
Attachments
Issue Links
- relates to
-
MPMD-190 Seperate CPD configuration from PMD i.e. exclude/include paths
- Closed