This is an automated email from the ASF dual-hosted git repository. jiriondrusek pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-upgrade-recipes.git
The following commit(s) were added to refs/heads/main by this push: new c39533c Camel Spring Boot upgrade recipes for Camel 4.11 (#30) c39533c is described below commit c39533cae48659fa213eff59b733b2961eba970c Author: Federico Mariani <34543311+cro...@users.noreply.github.com> AuthorDate: Mon Apr 14 13:19:41 2025 +0200 Camel Spring Boot upgrade recipes for Camel 4.11 (#30) --- .../src/main/resources/META-INF/rewrite/4.10.yaml | 1 - .../resources/META-INF/rewrite/{4.10.yaml => 4.11.yaml} | 15 +++++++++------ .../src/main/resources/META-INF/rewrite/4.9.yaml | 3 ++- .../src/main/resources/META-INF/rewrite/latest.yaml | 6 +++++- 4 files changed, 16 insertions(+), 9 deletions(-) diff --git a/camel-spring-boot-upgrade-recipes/src/main/resources/META-INF/rewrite/4.10.yaml b/camel-spring-boot-upgrade-recipes/src/main/resources/META-INF/rewrite/4.10.yaml index f24269f..9be044a 100644 --- a/camel-spring-boot-upgrade-recipes/src/main/resources/META-INF/rewrite/4.10.yaml +++ b/camel-spring-boot-upgrade-recipes/src/main/resources/META-INF/rewrite/4.10.yaml @@ -20,7 +20,6 @@ name: org.apache.camel.upgrade.camel410.CamelSpringBootMigrationRecipe displayName: Migrates `Camel Spring Boot` application to `Camel Spring Boot 4.10` description: Migrates `Camel Spring Boot` application to `Camel Spring Boot 4.10` recipeList: - - org.openrewrite.java.spring.boot3.UpgradeSpringBoot_3_3 # Evaluate if Camel will upgrade to SB 3.4!!!!!!!!!!!!!!!!! - org.apache.camel.upgrade.camel410.CamelMigrationRecipe - org.apache.camel.upgrade.camel49.CamelMigrationRecipe - org.apache.camel.upgrade.camel47.CamelMigrationRecipe diff --git a/camel-spring-boot-upgrade-recipes/src/main/resources/META-INF/rewrite/4.10.yaml b/camel-spring-boot-upgrade-recipes/src/main/resources/META-INF/rewrite/4.11.yaml similarity index 76% copy from camel-spring-boot-upgrade-recipes/src/main/resources/META-INF/rewrite/4.10.yaml copy to camel-spring-boot-upgrade-recipes/src/main/resources/META-INF/rewrite/4.11.yaml index f24269f..fd424a3 100644 --- a/camel-spring-boot-upgrade-recipes/src/main/resources/META-INF/rewrite/4.10.yaml +++ b/camel-spring-boot-upgrade-recipes/src/main/resources/META-INF/rewrite/4.11.yaml @@ -16,11 +16,11 @@ # --- type: specs.openrewrite.org/v1beta/recipe -name: org.apache.camel.upgrade.camel410.CamelSpringBootMigrationRecipe -displayName: Migrates `Camel Spring Boot` application to `Camel Spring Boot 4.10` -description: Migrates `Camel Spring Boot` application to `Camel Spring Boot 4.10` +name: org.apache.camel.upgrade.camel411.CamelSpringBootMigrationRecipe +displayName: Migrates Camel Spring Boot applications to Camel Spring Boot 4.11 +description: Migrates Camel Spring Boot applications to Camel Spring Boot 4.11 recipeList: - - org.openrewrite.java.spring.boot3.UpgradeSpringBoot_3_3 # Evaluate if Camel will upgrade to SB 3.4!!!!!!!!!!!!!!!!! + - org.apache.camel.upgrade.camel411.CamelMigrationRecipe - org.apache.camel.upgrade.camel410.CamelMigrationRecipe - org.apache.camel.upgrade.camel49.CamelMigrationRecipe - org.apache.camel.upgrade.camel47.CamelMigrationRecipe @@ -32,7 +32,10 @@ recipeList: - org.openrewrite.maven.UpgradeDependencyVersion: groupId: '*camel*' artifactId: 'camel-spring-boot-bom' - newVersion: @camel-spring-boot-version@ + newVersion: @project.version@ - org.openrewrite.maven.RemoveDependency: groupId: org.apache.camel.springboot - artifactId: camel-k-starter \ No newline at end of file + artifactId: camel-k-starter + - org.openrewrite.maven.RemoveDependency: + groupId: org.apache.camel.springboot + artifactId: camel-etcd3-starter \ No newline at end of file diff --git a/camel-spring-boot-upgrade-recipes/src/main/resources/META-INF/rewrite/4.9.yaml b/camel-spring-boot-upgrade-recipes/src/main/resources/META-INF/rewrite/4.9.yaml index 9165d91..6b0b86f 100644 --- a/camel-spring-boot-upgrade-recipes/src/main/resources/META-INF/rewrite/4.9.yaml +++ b/camel-spring-boot-upgrade-recipes/src/main/resources/META-INF/rewrite/4.9.yaml @@ -20,13 +20,14 @@ name: org.apache.camel.upgrade.camel49.CamelSpringBootMigrationRecipe displayName: Migrates `Camel Spring Boot` application to `Camel Spring Boot 4.9` description: Migrates `Camel Spring Boot` application to `Camel Spring Boot 4.9` recipeList: - - org.openrewrite.java.spring.boot3.UpgradeSpringBoot_3_3 - org.apache.camel.upgrade.camel49.CamelMigrationRecipe - org.apache.camel.upgrade.camel47.CamelMigrationRecipe - org.apache.camel.upgrade.camel46.CamelMigrationRecipe - org.apache.camel.upgrade.camel45.CamelMigrationRecipe - org.apache.camel.upgrade.camel44.CamelMigrationRecipe - org.apache.camel.upgrade.camel40.CamelMigrationRecipe + - org.apache.camel.upgrade.UpgradeToJava17 + - org.apache.camel.upgrade.JavaVersion17 - org.openrewrite.maven.UpgradeDependencyVersion: groupId: '*camel*' artifactId: 'camel-spring-boot-bom' diff --git a/camel-spring-boot-upgrade-recipes/src/main/resources/META-INF/rewrite/latest.yaml b/camel-spring-boot-upgrade-recipes/src/main/resources/META-INF/rewrite/latest.yaml index 72d0e28..491f22e 100644 --- a/camel-spring-boot-upgrade-recipes/src/main/resources/META-INF/rewrite/latest.yaml +++ b/camel-spring-boot-upgrade-recipes/src/main/resources/META-INF/rewrite/latest.yaml @@ -21,6 +21,7 @@ displayName: Migrate to Apache Camel Spring Boot @camel-version@ description: >- Migrate applications to Apache Camel Spring Boot @camel-version@ and Spring Boot @spring-boot-version@ recipeList: + - org.apache.camel.upgrade.camel411.CamelMigrationRecipe - org.apache.camel.upgrade.camel410.CamelMigrationRecipe - org.apache.camel.upgrade.camel49.CamelMigrationRecipe - org.apache.camel.upgrade.camel47.CamelMigrationRecipe @@ -66,4 +67,7 @@ recipeList: newVersion: @spring-boot-version@ - org.openrewrite.maven.RemoveDependency: groupId: org.apache.camel.springboot - artifactId: camel-k-starter \ No newline at end of file + artifactId: camel-k-starter + - org.openrewrite.maven.RemoveDependency: + groupId: org.apache.camel.springboot + artifactId: camel-etcd3-starter \ No newline at end of file