diff --git a/java/pom.xml b/java/pom.xml index fa03783396ffb..774761f0c1e66 100644 --- a/java/pom.xml +++ b/java/pom.xml @@ -35,6 +35,7 @@ 2 2.7.1 2.7.1 + false @@ -269,6 +270,47 @@ + + + org.apache.maven.plugins + maven-checkstyle-plugin + 2.17 + + + com.puppycrawl.tools + checkstyle + 6.15 + + + com.google.guava + guava + ${dep.guava.version} + + + + + validate + validate + + check + + + + + google_checks.xml + UTF-8 + true + ${checkstyle.failOnViolation} + ${checkstyle.failOnViolation} + warning + xml + html + ${project.build.directory}/test/checkstyle-errors.xml + false + + + + @@ -382,6 +424,19 @@ + + + org.apache.maven.plugins + maven-checkstyle-plugin + [0,) + + check + + + + + +