Croway commented on issue #82:
URL:
https://github.com/apache/camel-upgrade-recipes/issues/82#issuecomment-4989840109
Hello @indrajitd212-max and sorry for the late reply, but it seems like a
configuration problem, can you try with the LATEST version?
consider that the recipe name `migrate-camel-3-to-4` does not exist in this
project, that's why OpenRewrite completes with BUILD SUCCESS but applies no
changes. When the configured activeRecipe doesn't match any known recipe,
OpenRewrite silently does nothing.
The correct fully-qualified recipe names are:
- `org.apache.camel.upgrade.camel40.CamelMigrationRecipe` — migrates from
Camel 3.x to 4.0
- `org.apache.camel.upgrade.CamelMigrationRecipe` — migrates to the latest
Camel version (includes the 3→4 migration plus all subsequent minor version
upgrades)
For example, in your pom.xml plugin configuration:
<plugin>
<groupId>org.openrewrite.maven</groupId>
<artifactId>rewrite-maven-plugin</artifactId>
<configuration>
<activeRecipes>
<recipe>org.apache.camel.upgrade.CamelMigrationRecipe</recipe>
</activeRecipes>
</configuration>
<dependencies>
<dependency>
<groupId>org.apache.camel.upgrade</groupId>
<artifactId>camel-upgrade-recipes</artifactId>
<version>LATEST_VERSION</version>
</dependency>
</dependencies>
</plugin>
You can find more information in the README of the project
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]