From 330296a9c5eeb6427540e4d6e9bb1fbd0dffe046 Mon Sep 17 00:00:00 2001 From: Srinivasan Sekar Date: Thu, 7 Apr 2016 00:00:26 +0530 Subject: [PATCH 1/3] Google Java Style validation --- google-style.xml | 195 +++++++++++++++++++++++++++++++++++++++++++++++ pom.xml | 41 ++++++++++ 2 files changed, 236 insertions(+) create mode 100755 google-style.xml diff --git a/google-style.xml b/google-style.xml new file mode 100755 index 000000000..1a1f40568 --- /dev/null +++ b/google-style.xml @@ -0,0 +1,195 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/pom.xml b/pom.xml index d4a841955..d6e54794e 100644 --- a/pom.xml +++ b/pom.xml @@ -227,6 +227,47 @@ + + org.apache.maven.plugins + maven-checkstyle-plugin + 2.17 + + + com.puppycrawl.tools + checkstyle + LATEST + + + + ${basedir}/google-style.xml + UTF-8 + false + true + true + true + + + + + + org.apache.maven.plugins + maven-checkstyle-plugin + 2.17 + + + + checkstyle + + + + + + org.apache.maven.plugins + maven-jxr-plugin + 2.3 + + + From 0ce23bd1db17b23e6cc9be09490c7e088bae8540 Mon Sep 17 00:00:00 2001 From: Srinivasan Sekar Date: Thu, 7 Apr 2016 00:16:23 +0530 Subject: [PATCH 2/3] Updates to support repo audit reports --- pom.xml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/pom.xml b/pom.xml index d6e54794e..5c3123997 100644 --- a/pom.xml +++ b/pom.xml @@ -255,6 +255,14 @@ org.apache.maven.plugins maven-checkstyle-plugin 2.17 + + ${basedir}/google-style.xml + UTF-8 + false + true + true + true + From 31ba1034c554363736afd6e873230cb3d244014e Mon Sep 17 00:00:00 2001 From: Srinivasan Sekar Date: Mon, 11 Apr 2016 19:38:06 +0530 Subject: [PATCH 3/3] Updated goals as per TikhomirovSergey comments --- pom.xml | 24 ++++++++++++++++-------- 1 file changed, 16 insertions(+), 8 deletions(-) diff --git a/pom.xml b/pom.xml index 5c3123997..b3b82cda1 100644 --- a/pom.xml +++ b/pom.xml @@ -238,14 +238,22 @@ LATEST - - ${basedir}/google-style.xml - UTF-8 - false - true - true - true - + + + validate + validate + + ${basedir}/google-style.xml + UTF-8 + true + true + true + + + check + + +