From 7fd3739c757f3734ae76d66c4038385655a6533e Mon Sep 17 00:00:00 2001 From: Marcin Grzejszczak Date: Mon, 1 Oct 2018 12:29:16 +0200 Subject: [PATCH] Checkstyle produces warnings --- pom.xml | 8 +- spring-cloud-build-tools/pom.xml | 2 +- .../src/main/resources/checkstyle.xml | 188 ++++++++++++++++-- 3 files changed, 180 insertions(+), 18 deletions(-) diff --git a/pom.xml b/pom.xml index b42a1562..1a1f1512 100644 --- a/pom.xml +++ b/pom.xml @@ -311,6 +311,11 @@ limitations under the License. spring-javaformat-checkstyle ${spring-javaformat-checkstyle.version} + + org.springframework.cloud + spring-cloud-build-tools + ${spring-cloud-build.version} + @@ -318,7 +323,8 @@ limitations under the License. validate true - io/spring/javaformat/checkstyle/checkstyle.xml + checkstyle.xml + LICENSE.txt true false diff --git a/spring-cloud-build-tools/pom.xml b/spring-cloud-build-tools/pom.xml index bcef9db3..3c6b7cc5 100644 --- a/spring-cloud-build-tools/pom.xml +++ b/spring-cloud-build-tools/pom.xml @@ -17,7 +17,7 @@ com.puppycrawl.tools checkstyle - 7.6 + ${checkstyle.version} diff --git a/spring-cloud-build-tools/src/main/resources/checkstyle.xml b/spring-cloud-build-tools/src/main/resources/checkstyle.xml index 79233ddb..40b79604 100644 --- a/spring-cloud-build-tools/src/main/resources/checkstyle.xml +++ b/spring-cloud-build-tools/src/main/resources/checkstyle.xml @@ -2,24 +2,180 @@ - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +