If I configure maven-pmd-plugin to use <format>txt</format> for the report,
then `mvn clean && mvn pmd:check` messes up, attempting to load the report
from `target/pmd.xml` instead of `target/pmd.txt`.

I tried specifying <format>txt</format> in both <build> and <reporting>
plugin sections, but mvn:check still doesn't know about the txt file.

I'm not sure if maven-pmd-plugin is able to parse back the violations from
the text format. If not, then maybe a good compromise is to always generate
both formats.

Using maven-pmd-plugin v3.0.1.

http://search.maven.org/#artifactdetails%7Corg.apache.maven.plugins%7Cmaven-pmd-plugin%7C3.0.1%7Cmaven-plugin

-- 
Cheers,

Andrew Pennebaker
apenneba...@42six.com

Reply via email to