maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Pennebaker <>
Subject pmd:check has trouble loading reports from target/pmd.txt
Date Fri, 08 Nov 2013 17:59:00 GMT
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.


Andrew Pennebaker

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message