File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -354,6 +354,7 @@ 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
+ <plantirJavaFormatVersion >2.72.0</plantirJavaFormatVersion >
357
358
<sisuMavenPluginVersion >0.9.0.M4</sisuMavenPluginVersion >
358
359
<invoker .streamLogsOnFailures>true</invoker .streamLogsOnFailures>
359
360
@@ -612,7 +613,11 @@ limitations under the License.
612
613
<java >
613
614
<!-- orders of used formatters are important -->
614
615
<!-- eg. palantir override importOrder, so should be first -->
615
- <palantirJavaFormat />
616
+ <palantirJavaFormat >
617
+ <!-- Declare version so that spotless does not choose a version based on JDK version -->
618
+ <!-- https://github.com/diffplug/spotless/issues/2503#issuecomment-2953146277 -->
619
+ <version >${plantirJavaFormatVersion} </version >
620
+ </palantirJavaFormat >
616
621
<removeUnusedImports />
617
622
<importOrder >
618
623
<order >javax,java,,\#</order >
@@ -625,6 +630,7 @@ limitations under the License.
625
630
<expandEmptyElements >false</expandEmptyElements >
626
631
<!-- https://issues.apache.org/jira/browse/MRELEASE-1111 -->
627
632
<spaceBeforeCloseEmptyElement >true</spaceBeforeCloseEmptyElement >
633
+ <quiet >true</quiet >
628
634
</sortPom >
629
635
</pom >
630
636
<markdown >
You can’t perform that action at this time.
0 commit comments