[ 
https://jira.codehaus.org/browse/MPMD-130?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=279111#comment-279111
 ] 

Archimedes Trajano commented on MPMD-130:
-----------------------------------------

Same applies for excludes.
Tested on Maven 3.0.3

> excludeRoot doesn't work in site build on multi-module projects
> ---------------------------------------------------------------
>
>                 Key: MPMD-130
>                 URL: https://jira.codehaus.org/browse/MPMD-130
>             Project: Maven 2.x PMD Plugin
>          Issue Type: Bug
>    Affects Versions: 2.5
>            Reporter: Marcel Stör
>
> 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.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


Reply via email to