From 5d2b0e85f039b69967d7cd9c2ad426ea9fa0a5ec Mon Sep 17 00:00:00 2001 From: Tyler Van Gorder Date: Thu, 3 Nov 2022 16:52:49 -0700 Subject: [PATCH] Recipe to upgrade Rest Assured to a J2EE 9 compatible version --- .../resources/META-INF/rewrite/javax-to-jakarta.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/src/main/resources/META-INF/rewrite/javax-to-jakarta.yml b/src/main/resources/META-INF/rewrite/javax-to-jakarta.yml index e14840b87e..80dfce6871 100644 --- a/src/main/resources/META-INF/rewrite/javax-to-jakarta.yml +++ b/src/main/resources/META-INF/rewrite/javax-to-jakarta.yml @@ -54,6 +54,7 @@ recipeList: - org.openrewrite.java.migrate.jakarta.JacksonJavaxToJakarta - org.openrewrite.java.migrate.jakarta.EhcacheJavaxToJakarta - org.openrewrite.java.migrate.jakarta.JohnzonJavaxToJakarta + - org.openrewrite.java.migrate.jakarta.RestAssuredJavaxToJakarta --- type: specs.openrewrite.org/v1beta/recipe @@ -958,3 +959,15 @@ recipeList: groupId: org.apache.johnzon artifactId: "*" newClassifier: jakarta + +--- +# Currently this recipe is only updating the artifacts to a version that is compatible with J2EE 9. There still may be +# breaking changes to the Rest Assured API that need to be addressed. +type: specs.openrewrite.org/v1beta/recipe +name: org.openrewrite.java.migrate.jakarta.RestAssuredJavaxToJakarta +displayName: Migrate RestAssured from javax to jakarta namespace by upgrading to a version compatible with J2EE9 +recipeList: + - org.openrewrite.maven.UpgradeDependencyVersion: + groupId: io.rest-assured + artifactId: "*" + newVersion: 5.1.x