PMD will fail build on violations, display errors and always create HTML report
This commit is contained in:
parent
7cb672c5a2
commit
c494866e16
1 changed files with 5 additions and 0 deletions
|
@ -8,6 +8,11 @@
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-pmd-plugin</artifactId>
|
<artifactId>maven-pmd-plugin</artifactId>
|
||||||
<version>${maven-pmd-plugin.version}</version>
|
<version>${maven-pmd-plugin.version}</version>
|
||||||
|
<configuration>
|
||||||
|
<failOnViolation>true</failOnViolation>
|
||||||
|
<printFailingErrors>true</printFailingErrors>
|
||||||
|
<skipEmptyReport>false</skipEmptyReport>
|
||||||
|
</configuration>
|
||||||
<executions>
|
<executions>
|
||||||
<execution>
|
<execution>
|
||||||
<id>pmd</id>
|
<id>pmd</id>
|
||||||
|
|
Loading…
Reference in a new issue