From cb5bf77d7b87d9defaebb69a104e105c1212a57e Mon Sep 17 00:00:00 2001 From: Guillaume Nodet Date: Fri, 25 Aug 2023 16:13:29 +0200 Subject: [PATCH] Use spotless for code formatting --- pom.xml | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) diff --git a/pom.xml b/pom.xml index 40bbb48d..d82ca373 100644 --- a/pom.xml +++ b/pom.xml @@ -355,6 +355,58 @@ https://oss.sonatype.org/ + + com.diffplug.spotless + spotless-maven-plugin + 2.38.0 + + + + + 2.35.0 + + + java|javax,org,,\# + + + + /* + * Copyright (C) 2009-2023 the original author(s). + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + + + + false + 4 + true + + + + true + + + + + + apply + + process-sources + + +