openrewrite / rewrite-maven-plugin

OpenRewrite's Maven plugin.
https://openrewrite.github.io/rewrite-maven-plugin/plugin-info.html
Apache License 2.0
143 stars 74 forks source link

Add rewrite-java-21 to support parsing Java 21+ projects #872

Closed timtebeek closed 1 month ago

timtebeek commented 1 month ago

What's your motivation?

Anyone you would like to review specifically?

I've not had time to test this according to the steps outlined in openrewrite/rewrite#4534, hoping @triceo is willing to give this a try.

Have you considered any alternatives or workarounds?

We could have tried again to build on Java 21, as seen in 800bc01d18e58602c8c3905be6273fc9635380a2, but decided against that following #690 .

There have been previous attempts:

timtebeek commented 1 month ago

@knutwannheden would you happen to know if not adding rewrite-java-21 here and in the Gradle plugin was an oversight or intentional?