@@ -354,6 +354,8 @@ limitations under the License.
354
354
<junit5Version >5.13.3</junit5Version >
355
355
<njord .version>0.7.5</njord .version>
356
356
<spotless .action>apply</spotless .action>
357
+ <!-- we use version 2.56.0 due to: https://github.com/palantir/palantir-java-format/issues/1320 -->
358
+ <plantirJavaFormatVersion >2.56.0</plantirJavaFormatVersion >
357
359
<sisuMavenPluginVersion >0.9.0.M4</sisuMavenPluginVersion >
358
360
<invoker .streamLogsOnFailures>true</invoker .streamLogsOnFailures>
359
361
@@ -612,7 +614,11 @@ limitations under the License.
612
614
<java >
613
615
<!-- orders of used formatters are important -->
614
616
<!-- eg. palantir override importOrder, so should be first -->
615
- <palantirJavaFormat />
617
+ <palantirJavaFormat >
618
+ <!-- Declare version so that spotless does not choose a version based on JDK version -->
619
+ <!-- https://github.com/diffplug/spotless/issues/2503#issuecomment-2953146277 -->
620
+ <version >${plantirJavaFormatVersion} </version >
621
+ </palantirJavaFormat >
616
622
<removeUnusedImports />
617
623
<importOrder >
618
624
<order >javax,java,,\#</order >
@@ -625,6 +631,7 @@ limitations under the License.
625
631
<expandEmptyElements >false</expandEmptyElements >
626
632
<!-- https://issues.apache.org/jira/browse/MRELEASE-1111 -->
627
633
<spaceBeforeCloseEmptyElement >true</spaceBeforeCloseEmptyElement >
634
+ <quiet >true</quiet >
628
635
</sortPom >
629
636
</pom >
630
637
<markdown >
@@ -888,7 +895,7 @@ limitations under the License.
888
895
<profile >
889
896
<id >java11+</id >
890
897
<activation >
891
- <jdk >[11,)</jdk >
898
+ <jdk >[11,25 )</jdk >
892
899
</activation >
893
900
894
901
<properties >
0 commit comments