Skip to content

Get Eclipse JDT from maven central, not p2 update sites #2627

Closed as duplicate

Description

@bmarwell

Hi,

Proxies are breaking whenever I try to use Maven-Spotless with JDT, because Maven does not reroute eclipse p2 mirrors easily.

However, Eclipse JDT core is now available on central: https://central.sonatype.com/artifact/org.eclipse.jdt/org.eclipse.jdt.core

I have a PR for my project that shows it is working: bmarwell/jfmt#57

Maybe spotless could remove the p2 config and dependency and go back to using maven central instead?
That would solve many problems...

Thanks!

Activity

  1. nedtwigg commented on Sep 23, 2025

    @nedtwigg
    Member

    Agreed that it's easy to grab the latest version of Eclipse JDT. Reproducibility is hard though, because the transitive version ranges are wide. So when a new version of Eclipse gets released, old commits won't reproduce anymore because the transitives will update.

    That's why we use p2 to determine which versions and dependencies we need, and then download those deps from maven central.

  2. bmarwell commented on Sep 23, 2025

    @bmarwell
    Author

    Is #1966 correct?

  3. nedtwigg commented on Sep 23, 2025

    @nedtwigg
    Member
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions