File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed
Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -975,6 +975,9 @@ under the License.
975975 <invoker .streamLogsOnFailures>true</invoker .streamLogsOnFailures>
976976 <version .sisu-maven-plugin>0.9.0.M4</version .sisu-maven-plugin>
977977 <version .plexus-utils>4.0.2</version .plexus-utils>
978+ <version .spotless-maven-plugin>2.44.5</version .spotless-maven-plugin>
979+ <!-- we use version 2.56.0 due to: https://github.com/palantir/palantir-java-format/issues/1320 -->
980+ <version .palantirJavaFormat>2.56.0</version .palantirJavaFormat>
978981 <!-- DO NOT UPGRADE to 4: incompatible with Maven 3 -->
979982 <version .plexus-xml>3.0.1</version .plexus-xml>
980983 <versions .junit5>5.13.1</versions .junit5>
@@ -1208,12 +1211,16 @@ under the License.</licenseText>
12081211 <plugin >
12091212 <groupId >com.diffplug.spotless</groupId >
12101213 <artifactId >spotless-maven-plugin</artifactId >
1211- <version >2.44.5 </version >
1214+ <version >${version.spotless-maven-plugin} </version >
12121215 <configuration >
12131216 <java >
12141217 <!-- orders of used formatters are important MPOM-376 -->
12151218 <!-- eg. palantir override importOrder, so should be first -->
1216- <palantirJavaFormat />
1219+ <palantirJavaFormat >
1220+ <!-- Declare version so that spotless does not choose a version based on JDK version -->
1221+ <!-- https://github.com/diffplug/spotless/issues/2503#issuecomment-2953146277 -->
1222+ <version >${version.palantirJavaFormat} </version >
1223+ </palantirJavaFormat >
12171224 <removeUnusedImports />
12181225 <importOrder >
12191226 <file >config/maven-eclipse-importorder.txt</file >
You can’t perform that action at this time.
0 commit comments