From 455691108ea8ab7d34c741228e5794771aa6f71c Mon Sep 17 00:00:00 2001 From: Marcin Grzejszczak Date: Thu, 7 Feb 2019 14:38:20 +0100 Subject: [PATCH] Changed the order of formatting and checkstyle --- pom.xml | 52 +++++++++++++++++++++++++++++++++++----------------- 1 file changed, 35 insertions(+), 17 deletions(-) diff --git a/pom.xml b/pom.xml index 58199687..c8149ee2 100644 --- a/pom.xml +++ b/pom.xml @@ -309,6 +309,40 @@ limitations under the License. false + + io.spring.javaformat + spring-javaformat-maven-plugin + ${spring-javaformat.version} + + + validate + + ${disable.checks} + + + apply + validate + + + + + + io.spring.javaformat + spring-javaformat-maven-plugin + ${spring-javaformat.version} + + + validate + + ${disable.checks} + + + apply + validate + + + + org.apache.maven.plugins maven-checkstyle-plugin @@ -336,6 +370,7 @@ limitations under the License. validate true + ${disable.checks} checkstyle.xml checkstyle-header.txt checkstyle.build.directory=${project.build.directory} @@ -353,23 +388,6 @@ limitations under the License. - - io.spring.javaformat - spring-javaformat-maven-plugin - ${spring-javaformat.version} - - - validate - - ${disable.checks} - - - apply - validate - - - - pl.project13.maven git-commit-id-plugin