Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Incomplete
-
Affects Version/s: 2.5
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
-
Number of attachments :
Description
The parent POM of my multi-module setup says
<configuration>
<targetJdk>1.6</targetJdk>
<excludeRoots>
<excludeRoot>target/generated-sources</excludeRoot>
</excludeRoots>
</configuration>
If I run mvn pmd:cpd or mvn site directly on the module that actually has generated code the report is as expected. The files in target/generated-sources are ignored. Also, if I run mvn pmd:cpd at root level outside all the modules the report is fine.
However, if I run mvn site at root level outside all the modules the excludeRoot is ignored.