From 83f4869967ce6f5fc75f247170800e150bda5742 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20B=C3=BCnger?= Date: Sat, 29 Nov 2025 23:13:54 +0100 Subject: [PATCH 1/2] [MPOM-374] Apply spotless to groovy This extends spotless configuration to also check groovy files. As our groovy files for IT are not in the default groovy packages include is overwritten. The delimiter is overwritten, because the empty package is not supported by spotless, even while it's a valid package. see also: https://github.com/diffplug/spotless/issues/1418 closes #284 --- pom.xml | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 762a6c5a..ec11ec6d 100644 --- a/pom.xml +++ b/pom.xml @@ -1211,7 +1211,7 @@ under the License. - + ${version.palantirJavaFormat} @@ -1234,6 +1234,21 @@ under the License. true + + + + + + **/*.groovy + + + + //ASF licence just for test cases + ((package|import|open|module|) )|(//nopackage) + + true From bd5e38a1a76e5c460cdf432f5b6f9ac639f41cea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20B=C3=BCnger?= Date: Thu, 4 Dec 2025 20:06:27 +0100 Subject: [PATCH 2/2] [MPOM-374] Apply spotless to groovy This extends spotless configuration to also check groovy files. As our groovy files for IT are not in the default groovy packages include is overwritten. The delimiter is overwritten, because the empty package is not supported by spotbugs, even while it's a valid package. see also: https://github.com/diffplug/spotless/issues/1418 closes #284 --- pom.xml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/pom.xml b/pom.xml index ec11ec6d..e32375e1 100644 --- a/pom.xml +++ b/pom.xml @@ -1243,9 +1243,8 @@ under the License. **/*.groovy - - //ASF licence just for test cases + config/maven-header-plain.txt + ((package|import|open|module|) )|(//nopackage)