@bric3 @jochenberger @diukarev (also of interest to @blacelle)
I think you have been active here making good contributions (apologies if I'm missing anyone else) related to the GrEclipse formatter. It is my view that maintaining the GrEclipse (and CDT) formatters are no longer cost-effective, in the sense that having formatted Groovy scripts is less valuable than the time it would take to get them.
That's just my personal view, I'm happy to merge PRs from interested parties, but I don't have time to investigate issues myself, and I am a little worried about merging well-intentioned PRs that break other parts of the system.
Here's the story:
- a long time ago, for each Eclipse-based formatter, we shipped a giant fatjar that bundled all of its dependencies, e.g. https://search.maven.org/artifact/com.diffplug.spotless/spotless-eclipse-groovy
- that lasted from 2018 - 2021. it was a lot of maintenance to keep them working, in Oct 2021 that maintenance stopped happening
- so in March 2023, we adopted Solstice. This meant that we could use the latest versions of Eclipse dependencies again. For Eclipse projects which published to maven central (e.g. JDT) it was smooth, for projects which don't publish all their jars to maven central (e.g. GrEclipse) it opened this can of worms around "where do the p2 deps get stored / how do they get downloaded"
- now it's May 2026, and these are the most-acute problems:
- GrEclipse has changed its package metadata in a way, that Solstice doesn't support, so that we are once again stuck on an old version of GrEclipse
- publishing new versions of Solstice is currently not possible
- even if it were fixed, there is an unrelated and very mysterious bug around running GrEclipse with a fresh cache
I think the Eclipse JDT formatter is worth keeping, because all of its dependencies are in MavenCentral, it is tractable to use and distribute it. The rest of the Eclipse project is imo too dedicatedly esoteric, and this project would be much simpler to maintain if non-JDT eclipse projects were removed.
I'm not planning to remove it immediately. If anyone figures out how to get it working I'm happy to keep it. But if I understand correctly, greclipse mostly doesn't work in the latest versions of Spotless anyway.
My rough timeline is to add a deprecation warning ~July 2026 assuming we haven't made any progress by then, and then remove it completely ~Sep 2026 assuming that deprecation hasn't awoken some magical bear that causes the issue to get fixed.
@bric3 @jochenberger @diukarev (also of interest to @blacelle)
I think you have been active here making good contributions (apologies if I'm missing anyone else) related to the GrEclipse formatter. It is my view that maintaining the GrEclipse (and CDT) formatters are no longer cost-effective, in the sense that having formatted Groovy scripts is less valuable than the time it would take to get them.
That's just my personal view, I'm happy to merge PRs from interested parties, but I don't have time to investigate issues myself, and I am a little worried about merging well-intentioned PRs that break other parts of the system.
Here's the story:
I think the Eclipse JDT formatter is worth keeping, because all of its dependencies are in MavenCentral, it is tractable to use and distribute it. The rest of the Eclipse project is imo too dedicatedly esoteric, and this project would be much simpler to maintain if non-JDT eclipse projects were removed.
I'm not planning to remove it immediately. If anyone figures out how to get it working I'm happy to keep it. But if I understand correctly, greclipse mostly doesn't work in the latest versions of Spotless anyway.
My rough timeline is to add a deprecation warning ~July 2026 assuming we haven't made any progress by then, and then remove it completely ~Sep 2026 assuming that deprecation hasn't awoken some magical bear that causes the issue to get fixed.