From 0c60a95d8f0da0275db6b16f685444db96fe1837 Mon Sep 17 00:00:00 2001 From: Kai Winter Date: Sat, 19 Oct 2019 17:41:12 +0200 Subject: [PATCH] Switched to embedded Google checkstyle rules (#1018) * Switched to embedded Google checkstyle rules Moved the configuration out of the execution to make it used in all executions. Fixes #1016 * #1016: Moved checkstyle configuration back into execution This refactoring may be better done in a new issue as it may have too many implication. * Replaced consoleOutput and failsOnError by failOnViolation consoleOutput outputs everything while failsOnError just fails the build but doesn't log the error. failOnViolation fails on a violation and logs it (logViolationsToConsole defaults to true). --- checkstyle.xml | 197 ------------------------------------------------- pom.xml | 5 +- 2 files changed, 2 insertions(+), 200 deletions(-) delete mode 100644 checkstyle.xml diff --git a/checkstyle.xml b/checkstyle.xml deleted file mode 100644 index d66281f17..000000000 --- a/checkstyle.xml +++ /dev/null @@ -1,197 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/pom.xml b/pom.xml index 22dedc14a..0ef4890ca 100644 --- a/pom.xml +++ b/pom.xml @@ -395,11 +395,10 @@ validate - checkstyle.xml + google_checks.xml checkstyle-suppressions.xml UTF-8 - true - true + true true