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.
354354 <junit5Version >5.13.3</junit5Version >
355355 <njord .version>0.7.5</njord .version>
356356 <spotless .action>apply</spotless .action>
357+ <plantirJavaFormatVersion >2.72.0</plantirJavaFormatVersion >
357358 <sisuMavenPluginVersion >0.9.0.M4</sisuMavenPluginVersion >
358359 <invoker .streamLogsOnFailures>true</invoker .streamLogsOnFailures>
359360
@@ -612,7 +613,11 @@ limitations under the License.
612613 <java >
613614 <!-- orders of used formatters are important -->
614615 <!-- 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 >
616621 <removeUnusedImports />
617622 <importOrder >
618623 <order >javax,java,,\#</order >
@@ -625,6 +630,7 @@ limitations under the License.
625630 <expandEmptyElements >false</expandEmptyElements >
626631 <!-- https://issues.apache.org/jira/browse/MRELEASE-1111 -->
627632 <spaceBeforeCloseEmptyElement >true</spaceBeforeCloseEmptyElement >
633+ <quiet >true</quiet >
628634 </sortPom >
629635 </pom >
630636 <markdown >
You can’t perform that action at this time.
0 commit comments