Skip to content

Commit

Permalink
checkstyle:check and pmd:check to log violations to console.
Browse files Browse the repository at this point in the history
Helps in detecting reasons for failure.
  • Loading branch information
aherbert committed Nov 9, 2019
1 parent 3998804 commit bd83bb0
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion pom.xml
Expand Up @@ -253,7 +253,10 @@
<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>
Expand Down Expand Up @@ -294,6 +297,7 @@
</dependency>
</dependencies>
<configuration>
<printFailingErrors>true</printFailingErrors>
<!-- TODO: remove this when PMD has been fixed. -->
<failOnViolation>false</failOnViolation>
<targetJdk>${maven.compiler.target}</targetJdk>
Expand Down Expand Up @@ -436,6 +440,8 @@
<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>
Expand Down

0 comments on commit bd83bb0

Please sign in to comment.