checkstyle:check and pmd:check to log violations to console.
Helps in detecting reasons for failure.
<headerLocation>${numbers.parent.dir}/src/main/resources/checkstyle/license-header.txt</headerLocation>
<suppressionsLocation>${numbers.parent.dir}/src/main/resources/checkstyle/checkstyle-suppressions.xml</suppressionsLocation>
<enableRulesSummary>false</enableRulesSummary>
- <logViolationsToConsole>false</logViolationsToConsole>
+ <!-- Output issues to console. -->
+ <consoleOutput>false</consoleOutput>
+ <!-- Output the detected violations to the console (for checkstyle:check). -->
+ <logViolationsToConsole>true</logViolationsToConsole>
<failOnViolation>true</failOnViolation>
<resourceExcludes>NOTICE.txt,LICENSE.txt,**/maven-archiver/pom.properties,**/resolver-status.properties</resourceExcludes>
<excludes>**/generated/**.java</excludes>
</dependency>
</dependencies>
<configuration>
+ <printFailingErrors>true</printFailingErrors>
<!-- TODO: remove this when PMD has been fixed. -->
<failOnViolation>false</failOnViolation>
<targetJdk>${maven.compiler.target}</targetJdk>
<artifactId>maven-pmd-plugin</artifactId>
<version>${numbers.pmd.version}</version>
<configuration>
+ <verbose>false</verbose>
+ <printFailingErrors>true</printFailingErrors>
<targetJdk>${maven.compiler.target}</targetJdk>
<skipEmptyReport>false</skipEmptyReport>
<analysisCache>true</analysisCache>
