From 4a336c60448c09ac08a6236fdfa6ec058fc52da1 Mon Sep 17 00:00:00 2001 From: Phillip Webb Date: Thu, 31 May 2018 16:10:57 -0700 Subject: [PATCH] Add spring-javaformat checkstyle and formatting Closes gh-676 --- pom.xml | 83 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 82 insertions(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index a63b7024..20419e15 100644 --- a/pom.xml +++ b/pom.xml @@ -1,5 +1,6 @@ - 4.0.0 io.spring.initializr @@ -41,6 +42,7 @@ 2.0.2.RELEASE 1.8 ${basedir} + 0.0.3 @@ -148,6 +150,53 @@ + + io.spring.javaformat + spring-javaformat-maven-plugin + ${spring-javaformat.version} + + + validate + + ${disable.checks} + + + validate + + + + + + org.apache.maven.plugins + maven-checkstyle-plugin + 3.0.0 + + + com.puppycrawl.tools + checkstyle + 8.8 + + + io.spring.javaformat + spring-javaformat-checkstyle + ${spring-javaformat.version} + + + + + checkstyle-validation + validate + + ${disable.checks} + io/spring/javaformat/checkstyle/checkstyle.xml + true + + + check + + + + @@ -224,6 +273,38 @@ git-commit-id-plugin 2.2.3 + + + org.eclipse.m2e + lifecycle-mapping + 1.0.0 + + + + + + + org.apache.maven.plugins + + + maven-checkstyle-plugin + + + [3.0.0,) + + + check + + + + + + + + + +