UpgradeParentVersion recipe also delete version of other dependencies in pom.xml
I am trying to execute below recipe to update my parent jar version of one of my target project. mvn -U org.openrewrite.maven:rewrite-maven-plugin:dryRun -Drewrite.recipeArtifactCoordinates=com.hello.myproject:myproject-migration:5.0.30 -Drewrite.activeRecipes=com.test.skernel.migrate-to-6.0.6-set0
YAML recipe does not work if YAML files are located in root project folder
Issue:
When using OpenRewrite API, YAML recipes do not work if the .yaml
files are located in the root directory of the project. However, if the .yaml
files are placed in a subdirectory of the project, the YAML recipes work as expected.
OpenRewrite – rewrite for rewriting OpenRewrite 7 recipe to OpenRewrite 8 recipe
OpenRewrite provides an extensive guide: Rewrite 7 to 8 migration for rewriting your recipes. This is fine and all, but what you really expect from OpenRewrite is a rewrite recipe for this… I haven’t been able to find this, anyone else (official or community)?
UpgradeSpringBoot_3_2 recipe not found in rewrite-spring jar file
I have a task to upgrade our project to Spring Boot 3.x. And I chose OpenRewrite tool to help me with this task. However, I’m facing the issue where UpgradeSpringBoot_3_2 recipe can’t be found in rewrite-spring jar file
OpenRewrite: UpgradeSpringBoot_3_2 recipe not found in rewrite-spring jar file
I have a task to upgrade our project to Spring Boot 3.x. And I chose OpenRewrite tool to help me with this task. However, I’m facing the issue where UpgradeSpringBoot_3_2 recipe can’t be found in rewrite-spring jar file
OpenRewrite – How to replace one statement with multiple new statements using JavaTemplate?
I was writing a recipe that replaces one statement with other multiple ones using a JavaTemplate but I couldn’t make it work.
OpenRewrite – How to replace one statement with multiple new statements using JavaTemplate?
I was writing a recipe that replaces one statement with other multiple ones using a JavaTemplate but I couldn’t make it work.
unable to resolve pom due to unknown repo
I stumbled onto openrewrite, thought it was interesting and useful. So, I did the necessary config by following what others have done. I tried to dryRun it, I get the following error during pom resolution: