maven-pmd-plugin should generate only one pmd.xml file
------------------------------------------------------
Key: MPMD-80
URL: http://jira.codehaus.org/browse/MPMD-80
Project: Maven 2.x PMD Plugin
Issue Type: Improvement
Components: PMD
Affects Versions: 2.3
Reporter: Ulli Hafner
Priority: Minor
Currently the task mvn pmd:pmd generates two identical pmd.xml report files:
one file is in target/pmd.xml, the other in target/site/pmd.xml. (findbugs and
checkstyle just generate one file in the target folder).
These two identical files hinder the processing by warning visualizations tools
(like the Hudson CI server pmd-plugin) that use these m2 generated files as
input. Normally, in Hudson one can just specify the file pattern **/pmd.xml to
obtain the available files to process. (Of course the user might change the
default pattern to **/target/pmd.xml, but it would be much smarter if this
would not be a requirement. And using **/target/pmd.xml as default is also no
possibility, since ant has no target folder...)
See: https://hudson.dev.java.net/issues/show_bug.cgi?id=1647
--
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