diff --git a/build.gradle.kts b/build.gradle.kts index 43666796b..7a350c7bd 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -176,6 +176,7 @@ dependencies { implementation("org.openrewrite:rewrite-maven:${rewriteVersion}") runtimeOnly("org.openrewrite.recipe:rewrite-testing-frameworks:${rewriteVersion}") + runtimeOnly("org.openrewrite.recipe:rewrite-migrate-java:${rewriteVersion}") runtimeOnly("org.openrewrite:rewrite-java-11:$rewriteVersion") testImplementation(platform(kotlin("bom", "1.6.21"))) diff --git a/src/main/resources/META-INF/rewrite/spring-boot3-upgrade.yml b/src/main/resources/META-INF/rewrite/spring-boot3-upgrade.yml index b60b5bbca..08c9b5829 100644 --- a/src/main/resources/META-INF/rewrite/spring-boot3-upgrade.yml +++ b/src/main/resources/META-INF/rewrite/spring-boot3-upgrade.yml @@ -34,6 +34,7 @@ displayName: Upgrade Maven Pom to Spring Boot 3.0 from 2.x description: 'Upgrade Maven Pom to Spring Boot 3.0 from prior 2.x version.' recipeList: - org.openrewrite.java.migrate.JavaVersion17 + - org.openrewrite.java.migrate.JavaxMigrationToJakarta - org.openrewrite.maven.ChangeDependencyClassifier: groupId: org.ehcache artifactId: ehcache