From e636f9b7fcfe5f61693023eaa952c38e89fcf2fa Mon Sep 17 00:00:00 2001 From: Tom Anderson Date: Sun, 30 Oct 2016 23:04:53 +0000 Subject: [PATCH 1/2] Add Checkstyle to report on and enforce conformance to the Google style guide (#1350) --- pom.xml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/pom.xml b/pom.xml index 38d502d049e1..a3147bdafb39 100644 --- a/pom.xml +++ b/pom.xml @@ -107,6 +107,7 @@ ISO-8859-1 67893CC4 + google_checks.xml @@ -379,6 +380,22 @@ maven-resources-plugin 2.7 + + org.apache.maven.plugins + maven-checkstyle-plugin + 2.17 + + + + check + + + + + error + indentation + + @@ -452,6 +469,11 @@ + + org.apache.maven.plugins + maven-checkstyle-plugin + 2.17 + From 846d9a39e30fcd291e897e9d2e07b5e33b9a2149 Mon Sep 17 00:00:00 2001 From: Tom Anderson Date: Sun, 30 Oct 2016 23:36:21 +0000 Subject: [PATCH 2/2] Add the Google Formatter plugin, as a discretionary step (#1350) --- pom.xml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/pom.xml b/pom.xml index a3147bdafb39..965a9471be80 100644 --- a/pom.xml +++ b/pom.xml @@ -396,6 +396,15 @@ indentation + + + com.theoryinpractise + googleformatter-maven-plugin + 1.0.6 +