You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Andrew Pennebaker <ap...@42six.com> on 2013/11/08 18:59:00 UTC

pmd:check has trouble loading reports from target/pmd.txt

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
apennebaker@42six.com