PMD will fail build on violations, display errors and always create HTML report

This commit is contained in:
Paul Campbell 2017-12-29 18:49:19 +00:00
parent 7cb672c5a2
commit c494866e16

View file

@ -8,6 +8,11 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-pmd-plugin</artifactId>
<version>${maven-pmd-plugin.version}</version>
<configuration>
<failOnViolation>true</failOnViolation>
<printFailingErrors>true</printFailingErrors>
<skipEmptyReport>false</skipEmptyReport>
</configuration>
<executions>
<execution>
<id>pmd</id>