Repository navigation
chore: update spotless-maven-plugin to 3.10.4 - #537
Merged
Merged
Conversation
Older versions download the Eclipse JDT formatter from the P2 update site at download.eclipse.org, which is unreliable. Since 3.10.0 the formatter is resolved from Maven Central using embedded lockfiles.
Artur-
approved these changes
Oct 30, 2026
Artur-
marked this pull request as ready for review
October 30, 2026 07:25
Artur-
enabled auto-merge (squash)
October 30, 2026 07:25
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Review risk: two-way door — build-only change to the formatter plugin version; no runtime or published artifact impact.
Summary
Spotless Maven Plugin versions before 3.10.0 provision the Eclipse JDT formatter from the P2 update site at
https://download.eclipse.org/, which is frequently slow or unavailable and makesspotless:check/spotless:applyfail. Since 3.10.0 the plugin ships embedded lockfiles for Eclipse JDT 4.9–4.41 and resolves the formatter from Maven Central instead.What changed
spotless-maven-pluginto 3.10.4 (latest).Test summary
mvn spotless:checkwith the new version: the formatter is resolved from Maven Central and no P2 data is downloaded (nodev/equo/p2-datain the local repository).main); they are left untouched to keep this PR scoped.Working on behalf of Artur