Closed arburk closed 8 months ago
Hi @arburk ; thanks for the detailed report, and taking the time to find the associated commit. We've moved that class into rewrite-templating, such that it's closer to where it's used. You should no longer have any issue if you use our snapshot versions.
The next release should pick up compatible versions of all modules, in particular when you use the rewrite-recipe-bom. We expect to do another release in the next week or so.
Does that indeed resolve your issue?
Hi @timtebeek Thank your for your quick fix and reply. Just re-run with snapshot version 5.8.1-SNAPSHOT and the problem still persists with same exception.
There was indeed a recent rewrite-recipe-bom release, but since no rewrite-migrate-java release went out in the past 3 weeks, that is the cause of this misalignment. We will make sure to fix this with new releases across the recipe repos.
Issue has been resolved with recent releases org.openrewrite.maven:rewrite-maven-plugin:5.9.1
and org.openrewrite.recipe:rewrite-java-security:2.0.6
.
I've experienced issue using maven with following configuration in pom.xml
executing
mvn rewrite:run
results inFound commit https://github.com/openrewrite/rewrite/commit/7ef3ffcb9d659eb57437ad47dce3ed474b719117 where related file AbstractRefasterJavaVisitor.java has been removed. So downgrading maven plugin to version
5.5.2
solves the issue.Can you please fix the issue for current maven-plugin, too? That would be great. Thx