-
Notifications
You must be signed in to change notification settings - Fork 466
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
update default versions for Eclipse Java and Groovy formatters #2458
base: main
Are you sure you want to change the base?
Conversation
1514bad
to
a1b1b65
Compare
Greclipse update causes issues again. Why does this have to be so hard? I wish they were publishing the core formatter as a regular JAR. :-/ |
There are test failures:
I'm at a loss. |
0226a0b
to
a1b1b65
Compare
Eclipse p2, haha. One way around it was for Spotless itself to create and publish fat jars. That was laborious and error-prone, and fell more than a year out of date. So we switched to the Equo p2 implementation, which lets us download metadata straight from the Eclipse p2 sources. The p2 metadata can say when a jar is published on mavenCentral vs when it is only available via p2, and this lets us use pure-maven for JDT. For the error you inlined above, the Groovy's p2 metadata is now claiming that the jar is published on mavencentral, but it is not. That's the error. If they did publish all their artifacts on mavencentral, that would be amazing! Or if they didn't claim maven coordinates, Equo p2 would download it from their p2 update site, which is what the previous metadata claimed. This p2 stuff sucks. If there were any other Groovy formatter, I would consider killing the p2 support and deprecating the formatters that rely on it... |
This is all so sad.
So that changed for the current release? Bummer, I was happy that they activated the
Maybe we can build something upon https://docs.openrewrite.org/recipes/groovy/format/autoformat. I haven't had a closer look yet though, but I have pretty high hopes in the OpenRewrite project. |
OpenRewrite does publish their artifacts on Maven: https://central.sonatype.com/artifact/org.openrewrite/rewrite-groovy/overview |
1283e07
to
c0117b1
Compare
…2463) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
c0117b1
to
53c8b14
Compare
Retry after #2381 failed and groovy/groovy-eclipse#1607 was resolved.