From 32286cfbed1bfa50bf57dd9269c82bd3c3f04574 Mon Sep 17 00:00:00 2001 From: Chris Bono Date: Sun, 22 Sep 2024 13:02:29 -0500 Subject: [PATCH] Add format plugin to samples This adds the spring-javaformat plugin to the samples module. The motivation is as follows: - Keep the samples in the Spring recommended format - Allow running `./mvnw spring-javaformat:apply` at project root --- samples/grpc-server/pom.xml | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/samples/grpc-server/pom.xml b/samples/grpc-server/pom.xml index e0216cb..ab1570e 100644 --- a/samples/grpc-server/pom.xml +++ b/samples/grpc-server/pom.xml @@ -31,6 +31,7 @@ 17 3.25.2 1.63.0 + 0.0.39 @@ -79,6 +80,20 @@ true + + io.spring.javaformat + spring-javaformat-maven-plugin + ${spring-javaformat-maven-plugin.version} + + + validate + true + + validate + + + + org.xolstice.maven.plugins protobuf-maven-plugin @@ -102,4 +117,4 @@ - \ No newline at end of file +