You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Guillaume Tardif <gu...@valtech.fr> on 2006/10/16 10:39:55 UTC

PMD includes and excludes in maven2

Hi All,

I'm running PMD and I created several reports on different java packages. I used the <excludes> section of the PMD configuration and it works fine ; however, the corresponding <includes> section doesn't seem to have any impact on the PMD execution.

Is it something that still needs to be implemented in the maven2 plugin?

Here is my PMD config : 

<configuration>
    <outputDirectory>target/impl/site</outputDirectory>
    <targetDirectory>target/impl</targetDirectory>
    <includes>
     <include>**/*Impl.java</include>
    </includes>
</configuration>

Thanks

Guillaume