Skip to content

Commit 534d2f7

Browse files
dependabot[bot]slachiewiczslawekjaranowski
authored
Bump com.diffplug.spotless:spotless-maven-plugin from 2.46.1 to 3.0.0 (#375)
* Bump com.diffplug.spotless:spotless-maven-plugin from 2.46.1 to 3.0.0 Bumps [com.diffplug.spotless:spotless-maven-plugin](https://github.com/diffplug/spotless) from 2.46.1 to 3.0.0. - [Release notes](https://github.com/diffplug/spotless/releases) - [Changelog](https://github.com/diffplug/spotless/blob/main/CHANGES.md) - [Commits](diffplug/spotless@maven/2.46.1...lib/3.0.0) --- updated-dependencies: - dependency-name: com.diffplug.spotless:spotless-maven-plugin dependency-version: 3.0.0 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> * Update minimal Java profile from 11 to 17 for spotless plugin * Manage version of palantirJavaFormat by spotless --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Sylwester Lachiewicz <[email protected]> Co-authored-by: Slawomir Jaranowski <[email protected]>
1 parent e197e58 commit 534d2f7

File tree

1 file changed

+5
-11
lines changed

1 file changed

+5
-11
lines changed

pom.xml

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -347,15 +347,13 @@ limitations under the License.
347347

348348
<project.build.outputTimestamp>2025-08-17T17:02:51Z</project.build.outputTimestamp>
349349
<gpg.useagent>true</gpg.useagent>
350-
<spotless-maven-plugin.version>2.46.1</spotless-maven-plugin.version>
350+
<spotless-maven-plugin.version>3.0.0</spotless-maven-plugin.version>
351351
<mavenPluginToolsVersion>3.15.1</mavenPluginToolsVersion>
352352
<mavenFluidoSkinVersion>2.1.0</mavenFluidoSkinVersion>
353353
<mavenSurefireVersion>3.5.4</mavenSurefireVersion>
354354
<junit5Version>5.13.4</junit5Version>
355355
<njord.version>0.7.5</njord.version>
356356
<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>
359357
<sisuMavenPluginVersion>0.9.0.M4</sisuMavenPluginVersion>
360358
<invoker.streamLogsOnFailures>true</invoker.streamLogsOnFailures>
361359

@@ -615,11 +613,7 @@ limitations under the License.
615613
<java>
616614
<!-- orders of used formatters are important -->
617615
<!-- eg. palantir override importOrder, so should be first -->
618-
<palantirJavaFormat>
619-
<!-- Declare version so that spotless does not choose a version based on JDK version -->
620-
<!-- https://github.com/diffplug/spotless/issues/2503#issuecomment-2953146277 -->
621-
<version>${plantirJavaFormatVersion}</version>
622-
</palantirJavaFormat>
616+
<palantirJavaFormat />
623617
<removeUnusedImports />
624618
<importOrder>
625619
<order>javax,java,,\#</order>
@@ -899,9 +893,9 @@ limitations under the License.
899893
</profile>
900894

901895
<profile>
902-
<id>java11+</id>
896+
<id>java17+</id>
903897
<activation>
904-
<jdk>[11,25)</jdk>
898+
<jdk>[17,)</jdk>
905899
</activation>
906900

907901
<properties>
@@ -910,7 +904,7 @@ limitations under the License.
910904
</properties>
911905

912906
<build>
913-
<!--- newer versions of plugins requires JDK 11 -->
907+
<!--- newer versions of plugins requires JDK 17 -->
914908
<plugins>
915909
<plugin>
916910
<groupId>com.diffplug.spotless</groupId>

0 commit comments

Comments
 (0)