Remove test Java parsers provided by the build plugin
MSALThe org.openrewrite.build.recipe-library plugin runs tests on Java 25 and adds rewrite-java-25 to the test runtime classpath, so JavaParser.fromJavaVersion() never falls back to the rewrite-java-17 or rewrite-java-21 parsers there.
org. openrewrite. java. recipes. RemoveTestJavaParsersProvidedByBuildPluginmod run . --recipe= org. openrewrite. java. recipes. RemoveTestJavaParsersProvidedByBuildPluginInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.