From 14b81dd4906bbc815cb2147616b8b13046637b71 Mon Sep 17 00:00:00 2001 From: Patrick Date: Wed, 3 Aug 2022 08:37:28 -0700 Subject: [PATCH] Add JavaxMigrationToJakarta to the spring-boot3-upgrade recipe --- build.gradle.kts | 1 + src/main/resources/META-INF/rewrite/spring-boot3-upgrade.yml | 1 + 2 files changed, 2 insertions(+) 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