You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Jesper Zedlitz (JIRA)" <ji...@codehaus.org> on 2006/08/25 14:59:48 UTC
[jira] Commented: (MPPMD-28) exclude files
[ http://jira.codehaus.org/browse/MPPMD-28?page=comments#action_73310 ]
Jesper Zedlitz commented on MPPMD-28:
-------------------------------------
It it just a documentation problem.
It is possible to exclude files from the PMD report:
<plugin>
<artifactId>maven-pmd-plugin</artifactId>
<version>2.1</version>
<configuration>
<excludes>
<exclude>**/org/example/generator**</exclude>
</excludes>
</configuration>
</plugin>
The two asterixes at the beginning of the path are important!
> exclude files
> -------------
>
> Key: MPPMD-28
> URL: http://jira.codehaus.org/browse/MPPMD-28
> Project: maven-pmd-plugin
> Issue Type: Wish
> Reporter: Jesper Zedlitz
>
> It would be nice if you could exclude files (generated source code) from the PMD report.
> The Cobertura plugin for examples has a configuration element
> <excludes>
> <exclude>org/example/generated/**/*.class</exclude>
> </excludes>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira