From da2dadd0190da274d79d3ec3d4a10092e37b329b Mon Sep 17 00:00:00 2001 From: radtriste Date: Tue, 29 Aug 2023 13:50:19 +0200 Subject: [PATCH 1/7] Setup environments --- .ci/environments/README.md | 29 + .ci/environments/common/update_quarkus.sh | 14 + .ci/environments/quarkus-3/README.md | 81 + .ci/environments/quarkus-3/after.sh | 13 + .ci/environments/quarkus-3/before.sh | 89 + ...reateKieQuarkusProjectMigrationRecipe.java | 130 + .../quarkus-3/patches/0001_before_sh.patch | 0 .../quarkus-3/quarkus3-base-recipe.yml | 3379 ++++++++++++ .ci/environments/quarkus-3/quarkus3.yml | 4624 +++++++++++++++++ .ci/environments/quarkus-branch/before.sh | 6 + .ci/environments/quarkus-lts/README.md | 19 + .ci/environments/quarkus-lts/before.sh | 6 + .ci/environments/quarkus-main/before.sh | 6 + .ci/environments/update.sh | 48 + 14 files changed, 8444 insertions(+) create mode 100644 .ci/environments/README.md create mode 100755 .ci/environments/common/update_quarkus.sh create mode 100644 .ci/environments/quarkus-3/README.md create mode 100755 .ci/environments/quarkus-3/after.sh create mode 100755 .ci/environments/quarkus-3/before.sh create mode 100755 .ci/environments/quarkus-3/jbang/CreateKieQuarkusProjectMigrationRecipe.java create mode 100644 .ci/environments/quarkus-3/patches/0001_before_sh.patch create mode 100644 .ci/environments/quarkus-3/quarkus3-base-recipe.yml create mode 100644 .ci/environments/quarkus-3/quarkus3.yml create mode 100755 .ci/environments/quarkus-branch/before.sh create mode 100644 .ci/environments/quarkus-lts/README.md create mode 100755 .ci/environments/quarkus-lts/before.sh create mode 100755 .ci/environments/quarkus-main/before.sh create mode 100755 .ci/environments/update.sh diff --git a/.ci/environments/README.md b/.ci/environments/README.md new file mode 100644 index 0000000..38cb1f5 --- /dev/null +++ b/.ci/environments/README.md @@ -0,0 +1,29 @@ +# Environments CI scripts + +This folder contains update scripts which would be called for a specific environments. + +## Updating branch for an environment + +The `.ci/environments/update.sh` script is responsible to execute the update/migration. + +It expect at least one parameter, namely the "environment", corresponding to the folder which will be "executed" (e.g. *quarkus-3*, *quarkus-main*, etc) and optionally some more which would be transmitted to the `before.sh` and/or `after.sh` scripts. + +Please look at the specific environment README file for more information about the needed parameters for the before and after scripts. + +### Execute script + +To execute migration from an environment, ***WITHOUT*** extra parameters: + +`.ci/environments/update.sh ` + +To execute migration from an environment ***WITH*** extra paramerers: + +`.ci/environments/update.sh ` + +### What happens ? + +When called, the update script will (in order and if exists): + +1. call `/before.sh` script with extra parameters +2. apply patches from the `/patches` folder in alphanumeric order +3. call `/before.sh` script with extra parameters \ No newline at end of file diff --git a/.ci/environments/common/update_quarkus.sh b/.ci/environments/common/update_quarkus.sh new file mode 100755 index 0000000..dc18743 --- /dev/null +++ b/.ci/environments/common/update_quarkus.sh @@ -0,0 +1,14 @@ +#!/bin/bash +set -euo pipefail + +mvn_cmd="mvn ${BUILD_MVN_OPTS:-} ${BUILD_MVN_OPTS_QUARKUS_UPDATE:-}" + +source <(curl -s https://raw.githubusercontent.com/kiegroup/kogito-pipelines/main/dsl/seed/scripts/install_quarkus.sh) + +echo "Update project with Quarkus version ${QUARKUS_VERSION}" + +set -x + +# Update with Quarkus version and commit +${mvn_cmd} versions:compare-dependencies -pl :drools-build-parent -DremotePom=io.quarkus:quarkus-bom:${QUARKUS_VERSION} -DupdatePropertyVersions=true -DupdateDependencies=true -DgenerateBackupPoms=false +${mvn_cmd} versions:set-property -pl :drools-build-parent -Dproperty=version.io.quarkus -DnewVersion=${QUARKUS_VERSION} -DgenerateBackupPoms=false -Dmaven.wagon.http.ssl.insecure=true diff --git a/.ci/environments/quarkus-3/README.md b/.ci/environments/quarkus-3/README.md new file mode 100644 index 0000000..6be0d66 --- /dev/null +++ b/.ci/environments/quarkus-3/README.md @@ -0,0 +1,81 @@ +# quarkus-3 environment scripts + +This folder contains specific script(s)/patch(es) for the Quarkus 3 migration. + +**Here is the command:** + +```bash +.ci/environments/update.sh quarkus-3 +``` + +Steps of the basic execution: + +- Execute `before.sh` script + In the basic execution, this script will skip the rewrite commands, which is taking a lot of time to perform. + If you want to perform the rewrite or update the "before.sh" patch, please see next sections. +- Apply all patches from `patches` folder + +## Full execution + +**Command:** + +```bash +.ci/environments/update.sh quarkus-3 rewrite +``` + +Steps of the full execution: + +- Execute the rewrite execution +- Synchronize the libraries' version with Quarkus BOM +- Store the changes from previous steps into the `patches/001_before_sh.patch` file +- Apply patches from `patches` folder + +## Patches information + +1. the `0001_before_sh.patch` is generated executing the `before.sh` script; it then contains all the `openrewrite` migration and the synchronization of libraries with quarkus ones (see next section) +2. all other patches have been made manually +3. if some other modifications are needed, they should be created as `patch`, following numerations +4. if some patch does not apply anymore, it has to be recreated manually; in case of the first one, it means to execute the `before.sh` script again + +## How to recreate the `001_before_sh.patch` file ? + +The `001_before_sh.patch` file contains all changes from a rewrite execution. +In case of a full execution, this file will be overriden with the new changes. + +You can also regenerate that file without having to run the full quarkus-3 environment migration. +To do so, just run: + +```bash +.ci/environments/quarkus-3/before.sh rewrite +``` + +## Recipe files + +There are 3 recipe files: + +- `project-recipe.yml` is the recipe file to update in case you need a new recipe +- `quarkus3-base-recipe.yml` is the base recipe setup by Quarkus team in https://github.com/quarkusio/quarkus-updates. You should not modify it ! +- `quarkus3.yml` is the final recipe file and is a compute of the previous 2 files, plus some processing. + See also comments in [Jbang script](jbang/CreateKieQuarkusProjectMigrationRecipe.java) for more details on the generation. + +### How to reset the quarkus3.yaml recipe file ? + +The `before.sh` script should handle the reset of the `quarkus3.yml` recipe file when executed with `rewrite` command. + +In case you want to do manually, just run: + +```bash +cd .ci/environments/quarkus-3 && curl -Ls https://sh.jbang.dev | bash -s - jbang/CreateKieQuarkusProjectMigrationRecipe.java; cd - +``` + +### How to update the Quarkus version ? + +If you are setting a new Quarkus version: + +1. Update `quarkus-devtools-common` version in `jbang/CreateKieQuarkusProjectMigrationRecipe.java` file +2. Update `QUARKUS_VERSION` in `jbang/CreateKieQuarkusProjectMigrationRecipe.java` file +3. Update `QUARKUS_UPDATES_BASE_URL` with the corresponding released version of https://github.com/quarkusio/quarkus-updates recipe file +4. Run the jbang script to update the `quarkus3.yml` file + ```bash + cd .ci/environments/quarkus-3 && curl -Ls https://sh.jbang.dev | bash -s - jbang/CreateKieQuarkusProjectMigrationRecipe.java true; cd - + ``` diff --git a/.ci/environments/quarkus-3/after.sh b/.ci/environments/quarkus-3/after.sh new file mode 100755 index 0000000..30e1c02 --- /dev/null +++ b/.ci/environments/quarkus-3/after.sh @@ -0,0 +1,13 @@ +#!/bin/bash +set -euo pipefail + +script_dir_path=$(cd `dirname "${BASH_SOURCE[0]}"`; pwd -P) +mvn_cmd="mvn ${BUILD_MVN_OPTS:-} ${BUILD_MVN_OPTS_QUARKUS_UPDATE:-}" + +# Retrieve current Maven project version +project_version=$(mvn -q -Dexpression=project.version -DforceStdout help:evaluate) +# New version is based on current project version and increment the Major => (M+1).m.y +new_version=$(echo ${project_version} | awk -F. -v OFS=. '{$1 += 1 ; print}') + +# Change version +${mvn_cmd} -e -N -DnewVersion=${new_version} -DallowSnapshots=true -DgenerateBackupPoms=false versions:set \ No newline at end of file diff --git a/.ci/environments/quarkus-3/before.sh b/.ci/environments/quarkus-3/before.sh new file mode 100755 index 0000000..14e515a --- /dev/null +++ b/.ci/environments/quarkus-3/before.sh @@ -0,0 +1,89 @@ +#!/bin/bash +set -euo pipefail + +script_dir_path=$(cd `dirname "${BASH_SOURCE[0]}"`; pwd -P) +mvn_cmd="mvn ${BUILD_MVN_OPTS:-} ${BUILD_MVN_OPTS_QUARKUS_UPDATE:-}" +ci="${CI:-false}" + +rewrite_plugin_version=4.43.0 +quarkus_version=${QUARKUS_VERSION:-3.0.0.Final} + +quarkus_recipe_file="${script_dir_path}/quarkus3.yml" +patch_file="${script_dir_path}"/patches/0001_before_sh.patch + +if [ "${ci}" = "true" ]; then + # In CI we need the main branch snapshot artifacts deployed locally + set -x + ${mvn_cmd} clean install -Dquickly + set +x +fi + +rewrite=${1:-'none'} +behavior=${2:-'none'} +echo "rewrite "${rewrite} +if [ "rewrite" != ${rewrite} ]; then + echo "No rewrite to be done. Exited" + exit 0 +fi + +export MAVEN_OPTS="-Xmx16192m" + +echo "Update project with Quarkus version ${quarkus_version}" + +set -x + +project_version=$(${mvn_cmd} -q -Dexpression=project.version -DforceStdout help:evaluate) + +# Regenerate quarkus3 recipe +cd ${script_dir_path} +curl -Ls https://sh.jbang.dev | \ + bash -s - jbang/CreateKieQuarkusProjectMigrationRecipe.java \ + -v version.io.quarkus=${quarkus_version} +cd - + +# Launch Quarkus 3 Openrewrite +${mvn_cmd} org.openrewrite.maven:rewrite-maven-plugin:${rewrite_plugin_version}:run \ + -Drewrite.configLocation="${quarkus_recipe_file}" \ + -DactiveRecipes=io.quarkus.openrewrite.Quarkus \ + -Drewrite.recipeArtifactCoordinates=org.kie:jpmml-migration-recipe:"${project_version}" \ + -Denforcer.skip \ + -fae \ + -Dexclusions=**/target \ + -DplainTextMasks=**/kmodule.xml + +# Update dependencies with Quarkus 3 bom +${mvn_cmd} \ + -pl :drools-build-parent \ + -DremotePom=io.quarkus:quarkus-bom:${quarkus_version} \ + -DupdatePropertyVersions=true \ + -DupdateDependencies=true \ + -DgenerateBackupPoms=false \ + versions:compare-dependencies + +# Create the `patches/0001_before_sh.patch` file +git add . +git reset "${quarkus_recipe_file}" # Do not include recipe file +git diff --cached > "${patch_file}" +git reset + +# Commit the change on patch +if [ "$(git status --porcelain ${patch_file})" != '' ]; then + if [ "$(git status --porcelain ${quarkus_recipe_file})" != '' ]; then + git add "${quarkus_recipe_file}" # We suppose that if the recipe has changed, the patch file as well + fi + git add "${patch_file}" + git commit -m '[Quarkus 3] Updated rewrite data' + + git reset --hard + if [ "${behavior}" = 'push_changes' ]; then + git_remote="${GIT_REMOTE:-origin}" + branch=$(git branch --show-current) + echo "Pushing changes to ${git_remote}/${branch} after rebase " + git fetch ${git_remote} + git rebase ${git_remote}/${branch} + git push ${git_remote} ${branch} + fi +fi + +# Reset all other changes as they will be applied next by the `patches/0001_before_sh.patch` file +git reset --hard diff --git a/.ci/environments/quarkus-3/jbang/CreateKieQuarkusProjectMigrationRecipe.java b/.ci/environments/quarkus-3/jbang/CreateKieQuarkusProjectMigrationRecipe.java new file mode 100755 index 0000000..ef4a670 --- /dev/null +++ b/.ci/environments/quarkus-3/jbang/CreateKieQuarkusProjectMigrationRecipe.java @@ -0,0 +1,130 @@ +import java.net.URL; +import java.nio.charset.Charset; +import java.nio.file.Files; +import java.nio.file.Path; +import java.nio.file.Paths; +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import java.util.concurrent.Callable; + +import org.apache.commons.io.IOUtils; + +import io.quarkus.devtools.project.BuildTool; +import io.quarkus.devtools.project.update.QuarkusUpdateRecipe; +import io.quarkus.devtools.project.update.QuarkusUpdateRecipeIO; +import io.quarkus.devtools.project.update.operations.UpdatePropertyOperation; +import picocli.CommandLine; +import picocli.CommandLine.Command; +import picocli.CommandLine.Option; + +///usr/bin/env jbang "$0" "$@" ; exit $? +// Version to be changed when needed +//DEPS io.quarkus:quarkus-devtools-common:3.0.0.Final +//DEPS info.picocli:picocli:4.5.0 + +/* + * This script will generate the final `quarkus3.yml` file based on: + * - quarkus recipe file (see `QUARKUS_UPDATES_BASE_URL` constant) + * - local project-recipe.yaml => Specific project repository rules + * + * We use a lot of managed dependencies, it concatenates both files but it also add some new rules: + * In the Quarkus recipe, the dependencies rules are modified only for direct dependencies but not for managed dependencies. + * So the script adds a new step: + * - Reads all modified direct dependencies from the Quarkus recipe + * - Generates one managed dependency rule for each of them + */ +@Command(name = "migrationrecipecli", mixinStandardHelpOptions = true, version = "migrationrecipecli 0.1", + description = "migrationrecipecli to create the Q3 migration recipe for a project") + class CreateKieQuarkusProjectMigrationRecipeCli implements Callable { + + @Option(names={ "-d", "--download-quarkus-recipe"}, description = "Download quarkus update recipe for final recipe generation") + private boolean downloadQuarkusRecipe = false; + + @Option(names={ "-v", "--property-version"}, description = "(multi). Add a dynamic property version to the final recipe") + private Map versionProperties = new HashMap<>(); + + static final String QUARKUS_UPDATES_BASE_URL = "https://raw.githubusercontent.com/quarkusio/quarkus-updates/1.0.0/recipes/src/main/resources/quarkus-updates/core/3alpha.yaml"; + + static final Path quarkus3DownloadedRecipePath = Paths.get("quarkus3-base-recipe.yml"); + static final Path quarkus3GeneratedRecipePath = Paths.get("quarkus3.yml"); + static final Path projectBaseRecipePath = Paths.get("project-recipe.yml"); + + @Override + public Integer call() throws Exception { // your business logic goes here... + if (downloadQuarkusRecipe) { + System.out.println("Downloading recipe from Quarkus"); + Files.write(quarkus3DownloadedRecipePath, new URL(QUARKUS_UPDATES_BASE_URL).openStream().readAllBytes()); + } + + if (!Files.exists(quarkus3DownloadedRecipePath)) { + System.out.println("The Quarkus base recipe (" + quarkus3DownloadedRecipePath.getFileName() + + ") does not exist into the folder. Please download it manually or add the `true` parameter to the script call !"); + return 1; + } + + List quarkusRecipes = QuarkusUpdateRecipeIO + .readRecipesYaml(Files.readString(quarkus3DownloadedRecipePath)); + QuarkusUpdateRecipe mainRecipe = new QuarkusUpdateRecipe() + .buildTool(BuildTool.MAVEN); + versionProperties.forEach((property, version) -> { + System.out.println("Add Property '" + property + "' with value '" + version + "'"); + mainRecipe.addOperation(new UpdatePropertyOperation(property, version)); + }); + + if (Files.exists(projectBaseRecipePath)) { + System.out.println("Adding Project base recipe(s)"); + mainRecipe.addRecipes(QuarkusUpdateRecipeIO.readRecipesYaml(Files.readString(projectBaseRecipePath))); + } else { + System.out.println("No Project base recipe(s) available. Nothing done here ..."); + } + + System.out.println("Adding Managed dependency recipe(s)"); + Map managedDependencyMainRecipe = Map.of( + "type", "specs.openrewrite.org/v1beta/recipe", + "name", "org.kie.ManagedDependencies", + "displayName", "Update Managed Dependencies", + "description", "Update all managed dependencies based on dependency updates from Quarkus.", + "recipeList", retrieveAllChangeDependencyRecipesToManagedDependency(quarkusRecipes)); + mainRecipe.addRecipe(managedDependencyMainRecipe); + + System.out.println("Adding Quarkus base recipe(s)"); + mainRecipe.addRecipes(quarkusRecipes); + + System.out.println("Writing main recipe"); + QuarkusUpdateRecipeIO.write(quarkus3GeneratedRecipePath, mainRecipe); + + return 0; + } + + + public static void main(String... args) throws Exception { + int exitCode = new CommandLine(new CreateKieQuarkusProjectMigrationRecipeCli()).execute(args); + System.exit(exitCode); + } + + private List retrieveAllChangeDependencyRecipesToManagedDependency(List recipes) { + List changeDependencyRecipeList = new ArrayList<>(); + recipes.forEach(r -> { + if (r instanceof Map) { + List recipeList = (List) ((Map) r).get("recipeList"); + recipeList.forEach(recipeMap -> { + if (recipeMap instanceof Map) { + ((Map>) recipeMap).forEach((recipeName, args) -> { + if (recipeName.equals("org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId")) { + args.remove("overrideManagedVersion"); + if (!args.containsKey("newArtifactId")) { + args.put("newArtifactId", args.get("oldArtifactId")); + } + changeDependencyRecipeList.add(Map + .of("org.openrewrite.maven.ChangeManagedDependencyGroupIdAndArtifactId", args)); + } + }); + } + }); + } + }); + return changeDependencyRecipeList; + } +} diff --git a/.ci/environments/quarkus-3/patches/0001_before_sh.patch b/.ci/environments/quarkus-3/patches/0001_before_sh.patch new file mode 100644 index 0000000..e69de29 diff --git a/.ci/environments/quarkus-3/quarkus3-base-recipe.yml b/.ci/environments/quarkus-3/quarkus3-base-recipe.yml new file mode 100644 index 0000000..06f4b90 --- /dev/null +++ b/.ci/environments/quarkus-3/quarkus3-base-recipe.yml @@ -0,0 +1,3379 @@ +# +# Copyright 2021 the original author or authors. +#

+# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +#

+# https://www.apache.org/licenses/LICENSE-2.0 +#

+# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + +##### +# Rules coming from https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/jakarta-ee-9.yml +# modified to: +# - use the Jakarta EE 10 versions (except for JPA as we are waiting for the Hibernate ORM 6 upgrade) +# - not add new dependencies but transform them +##### + +##### +# Update the Quarkiverse extensions +##### +--- +type: specs.openrewrite.org/v1beta/recipe +name: io.quarkus.updates.core.quarkus30.UpgradeQuarkiverse +recipeList: + - org.openrewrite.maven.UpgradeDependencyVersion: + groupId: io.quarkus.bot + artifactId: 'build-reporter-*' + newVersion: 3.x + - org.openrewrite.maven.UpgradeDependencyVersion: + groupId: io.quarkiverse.vault + artifactId: '*' + newVersion: 3.x + - org.openrewrite.maven.UpgradeDependencyVersion: + groupId: io.quarkiverse.amazonservices + artifactId: '*' + newVersion: 2.x + - org.openrewrite.maven.UpgradeDependencyVersion: + groupId: io.quarkiverse.cxf + artifactId: '*' + newVersion: 2.x + - org.openrewrite.maven.UpgradeDependencyVersion: + groupId: io.quarkiverse.jsch + artifactId: '*' + newVersion: 3.x + - org.openrewrite.maven.UpgradeDependencyVersion: + groupId: io.quarkiverse.jberet + artifactId: '*' + newVersion: 2.x + - org.openrewrite.maven.UpgradeDependencyVersion: + groupId: io.quarkiverse.artemis + artifactId: '*' + newVersion: 3.x + - org.openrewrite.maven.UpgradeDependencyVersion: + groupId: io.quarkiverse.config + artifactId: '*' + newVersion: 2.x + - org.openrewrite.maven.UpgradeDependencyVersion: + groupId: io.quarkiverse.freemarker + artifactId: '*' + newVersion: 1.x + - org.openrewrite.maven.UpgradeDependencyVersion: + groupId: io.quarkiverse.githubapp + artifactId: '*' + newVersion: 2.x + - org.openrewrite.maven.UpgradeDependencyVersion: + groupId: io.quarkiverse.mybatis + artifactId: '*' + newVersion: 2.x + - org.openrewrite.maven.UpgradeDependencyVersion: + groupId: io.quarkiverse.messaginghub + artifactId: '*' + newVersion: 2.x + - org.openrewrite.maven.UpgradeDependencyVersion: + groupId: io.quarkiverse.prettytime + artifactId: '*' + newVersion: 2.x + - org.openrewrite.maven.UpgradeDependencyVersion: + groupId: io.quarkiverse.xmlsec + artifactId: '*' + newVersion: 2.x + - org.openrewrite.maven.UpgradeDependencyVersion: + groupId: io.quarkiverse.jef + artifactId: '*' + newVersion: 3.x + - org.openrewrite.maven.UpgradeDependencyVersion: + groupId: io.quarkiverse.githubaction + artifactId: '*' + newVersion: 2.x + - org.openrewrite.maven.UpgradeDependencyVersion: + groupId: io.quarkiverse.hibernatesearchextras + artifactId: '*' + newVersion: 2.x + - org.openrewrite.maven.UpgradeDependencyVersion: + groupId: io.quarkiverse.jackson-jq + artifactId: '*' + newVersion: 2.x + - org.openrewrite.maven.UpgradeDependencyVersion: + groupId: io.quarkiverse.jdbc + artifactId: '*' + newVersion: 3.x + - org.openrewrite.maven.UpgradeDependencyVersion: + groupId: io.quarkiverse.microprofile + artifactId: '*' + newVersion: 3.x + - org.openrewrite.maven.UpgradeDependencyVersion: + groupId: io.quarkiverse.minio + artifactId: '*' + newVersion: 3.x + - org.openrewrite.maven.UpgradeDependencyVersion: + groupId: io.quarkiverse.pact + artifactId: '*' + newVersion: 1.x + - org.openrewrite.maven.UpgradeDependencyVersion: + groupId: io.quarkiverse.poi + artifactId: '*' + newVersion: 2.x + - org.openrewrite.maven.UpgradeDependencyVersion: + groupId: io.quarkiverse.primefaces + artifactId: '*' + newVersion: 3.x + - org.openrewrite.maven.UpgradeDependencyVersion: + groupId: io.quarkiverse.reactivemessaging.http + artifactId: '*' + newVersion: 2.x + - org.openrewrite.maven.UpgradeDependencyVersion: + groupId: io.quarkiverse.renarde + artifactId: '*' + newVersion: 3.x + - org.openrewrite.maven.UpgradeDependencyVersion: + groupId: io.quarkiverse.shardingsphere + artifactId: '*' + newVersion: 2.x + +--- +type: specs.openrewrite.org/v1beta/recipe +name: org.openrewrite.java.migrate.jakarta.JavaxActivationMigrationToJakartaActivation +displayName: Migrate deprecated `javax.activation` packages to `jakarta.activation` +description: Java EE has been rebranded to Jakarta EE, necessitating a package relocation. +tags: + - activation + - javax + - jakarta + +recipeList: + - org.openrewrite.maven.UpgradeDependencyVersion: + groupId: jakarta.activation + artifactId: jakarta.activation-api + newVersion: 2.x + - org.openrewrite.java.ChangePackage: + oldPackageName: javax.activation + newPackageName: jakarta.activation + recursive: true + - org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: + oldGroupId: javax.activation + oldArtifactId: javax.activation-api + newGroupId: jakarta.activation + newArtifactId: jakarta.activation-api + newVersion: 2.x + +--- +type: specs.openrewrite.org/v1beta/recipe +name: org.openrewrite.java.migrate.jakarta.JavaxAnnotationMigrationToJakartaAnnotation +displayName: Migrate deprecated `javax.annotation` packages to `jakarta.annotation` +description: Java EE has been rebranded to Jakarta EE, necessitating a package relocation. +tags: + - annotation + - javax + - jakarta + +recipeList: + - org.openrewrite.maven.UpgradeDependencyVersion: + groupId: jakarta.annotation + artifactId: jakarta.annotation-api + newVersion: 2.x + - org.openrewrite.java.migrate.jakarta.ChangeJavaxAnnotationToJakarta + - org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: + oldGroupId: javax.annotation + oldArtifactId: javax.annotation-api + newGroupId: jakarta.annotation + newArtifactId: jakarta.annotation-api + newVersion: 2.x + +--- +type: specs.openrewrite.org/v1beta/recipe +name: org.openrewrite.java.migrate.jakarta.ChangeJavaxAnnotationToJakarta +displayName: Migrate deprecated `javax.annotation` packages to `jakarta.annotation` +description: Java EE has been rebranded to Jakarta EE, necessitating a package relocation. Excludes `javax.annotation.processing`. +tags: + - batch + - javax + - jakarta + +recipeList: + - org.openrewrite.java.migrate.jakarta.JavaxAnnotationPackageToJakarta + - org.openrewrite.java.migrate.jakarta.JavaxAnnotationSecurityPackageToJakarta + - org.openrewrite.java.migrate.jakarta.JavaxAnnotationSqlPackageToJakarta + +--- +type: specs.openrewrite.org/v1beta/recipe +name: org.openrewrite.java.migrate.jakarta.JavaxAnnotationPackageToJakarta +displayName: Migrate deprecated `javax.annotation` packages to `jakarta.annotation` +description: Change type of classes in the `javax.annotation` package to jakarta. +tags: + - batch + - javax + - jakarta + +recipeList: + - org.openrewrite.java.ChangeType: + oldFullyQualifiedTypeName: javax.annotation.Generated + newFullyQualifiedTypeName: jakarta.annotation.Generated + - org.openrewrite.java.ChangeType: + oldFullyQualifiedTypeName: javax.annotation.ManagedBean + newFullyQualifiedTypeName: jakarta.annotation.ManagedBean + - org.openrewrite.java.ChangeType: + oldFullyQualifiedTypeName: javax.annotation.PostConstruct + newFullyQualifiedTypeName: jakarta.annotation.PostConstruct + - org.openrewrite.java.ChangeType: + oldFullyQualifiedTypeName: javax.annotation.PreDestroy + newFullyQualifiedTypeName: jakarta.annotation.PreDestroy + - org.openrewrite.java.ChangeType: + oldFullyQualifiedTypeName: javax.annotation.Priority + newFullyQualifiedTypeName: jakarta.annotation.Priority + - org.openrewrite.java.ChangeType: + oldFullyQualifiedTypeName: javax.annotation.Resource + newFullyQualifiedTypeName: jakarta.annotation.Resource + - org.openrewrite.java.ChangeType: + oldFullyQualifiedTypeName: javax.annotation.Resources + newFullyQualifiedTypeName: jakarta.annotation.Resources + +--- +type: specs.openrewrite.org/v1beta/recipe +name: org.openrewrite.java.migrate.jakarta.JavaxAnnotationSecurityPackageToJakarta +displayName: Migrate deprecated `javax.annotation.security` packages to `jakarta.annotation.security` +description: Change type of classes in the `javax.annotation.security` package to jakarta. +tags: + - batch + - javax + - jakarta + +recipeList: + - org.openrewrite.java.ChangeType: + oldFullyQualifiedTypeName: javax.annotation.security.DeclareRoles + newFullyQualifiedTypeName: jakarta.annotation.security.DeclareRoles + - org.openrewrite.java.ChangeType: + oldFullyQualifiedTypeName: javax.annotation.security.DenyAll + newFullyQualifiedTypeName: jakarta.annotation.security.DenyAll + - org.openrewrite.java.ChangeType: + oldFullyQualifiedTypeName: javax.annotation.security.PermitAll + newFullyQualifiedTypeName: jakarta.annotation.security.PermitAll + - org.openrewrite.java.ChangeType: + oldFullyQualifiedTypeName: javax.annotation.security.RolesAllowed + newFullyQualifiedTypeName: jakarta.annotation.security.RolesAllowed + - org.openrewrite.java.ChangeType: + oldFullyQualifiedTypeName: javax.annotation.security.RunAs + newFullyQualifiedTypeName: jakarta.annotation.security.RunAs + +--- +type: specs.openrewrite.org/v1beta/recipe +name: org.openrewrite.java.migrate.jakarta.JavaxAnnotationSqlPackageToJakarta +displayName: Migrate deprecated `javax.annotation.sql` packages to `jakarta.annotation.sql` +description: Change type of classes in the `javax.annotation.sql` package to jakarta. +tags: + - batch + - javax + - jakarta + +recipeList: + - org.openrewrite.java.ChangeType: + oldFullyQualifiedTypeName: javax.annotation.sql.DataSourceDefinition + newFullyQualifiedTypeName: jakarta.annotation.sql.DataSourceDefinition + - org.openrewrite.java.ChangeType: + oldFullyQualifiedTypeName: javax.annotation.sql.DataSourceDefinitions + newFullyQualifiedTypeName: jakarta.annotation.sql.DataSourceDefinitions + +--- +type: specs.openrewrite.org/v1beta/recipe +name: org.openrewrite.java.migrate.jakarta.JavaxAuthenticationMigrationToJakartaAuthentication +displayName: Migrate deprecated `javax.security.auth.message` packages to `jakarta.security.auth.message` +description: Java EE has been rebranded to Jakarta EE, necessitating a package relocation. +tags: + - authentication + - security + - javax + - jakarta + +recipeList: + - org.openrewrite.maven.UpgradeDependencyVersion: + groupId: jakarta.authorization + artifactId: jakarta.authorization-api + newVersion: 2.x + - org.openrewrite.maven.UpgradeDependencyVersion: + groupId: jakarta.authentication + artifactId: jakarta.authentication-api + newVersion: 2.x + - org.openrewrite.java.ChangePackage: + oldPackageName: javax.security.auth.message + newPackageName: jakarta.security.auth.message + recursive: true + - org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: + oldGroupId: javax.security.auth.message + oldArtifactId: javax.security.auth.message-api + newGroupId: jakarta.authentication + newArtifactId: jakarta.authentication-api + newVersion: 2.x + +--- +type: specs.openrewrite.org/v1beta/recipe +name: org.openrewrite.java.migrate.jakarta.JavaxAuthorizationMigrationToJakartaAuthorization +displayName: Migrate deprecated `javax.security.jacc` packages to `jakarta.security.jacc` +description: Java EE has been rebranded to Jakarta EE, necessitating a package relocation. +tags: + - authorization + - security + - javax + - jakarta + +recipeList: + - org.openrewrite.maven.UpgradeDependencyVersion: + groupId: jakarta.authorization + artifactId: jakarta.authorization-api + newVersion: 2.x + - org.openrewrite.java.ChangePackage: + oldPackageName: javax.security.jacc + newPackageName: jakarta.security.jacc + recursive: true + - org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: + oldGroupId: javax.security.jacc + oldArtifactId: javax.security.jacc-api + newGroupId: jakarta.authorization + newArtifactId: jakarta.authorization-api + newVersion: 2.x + +--- +type: specs.openrewrite.org/v1beta/recipe +name: org.openrewrite.java.migrate.jakarta.JavaxBatchMigrationToJakartaBatch +displayName: Migrate deprecated `javax.batch` packages to `jakarta.batch` +description: Java EE has been rebranded to Jakarta EE, necessitating a package relocation. +tags: + - batch + - javax + - jakarta + +recipeList: + - org.openrewrite.maven.UpgradeDependencyVersion: + groupId: jakarta.batch + artifactId: jakarta.batch-api + newVersion: 2.x + - org.openrewrite.java.ChangePackage: + oldPackageName: javax.batch + newPackageName: jakarta.batch + recursive: true + - org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: + oldGroupId: javax.batch + oldArtifactId: javax.batch-api + newGroupId: jakarta.batch + newArtifactId: jakarta.batch-api + newVersion: 2.x + +--- +type: specs.openrewrite.org/v1beta/recipe +name: org.openrewrite.java.migrate.jakarta.JavaxValidationMigrationToJakartaValidation +displayName: Migrate deprecated `javax.validation` packages to `jakarta.validation` +description: Java EE has been rebranded to Jakarta EE, necessitating a package relocation. +tags: + - validation + - javax + - jakarta + +recipeList: + - org.openrewrite.maven.UpgradeDependencyVersion: + groupId: jakarta.validation + artifactId: jakarta.validation-api + newVersion: 3.x + - org.openrewrite.java.ChangePackage: + oldPackageName: javax.validation + newPackageName: jakarta.validation + recursive: true + - org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: + oldGroupId: javax.validation + oldArtifactId: validation-api + newGroupId: jakarta.validation + newArtifactId: jakarta.validation-api + newVersion: 3.x + +--- +type: specs.openrewrite.org/v1beta/recipe +name: org.openrewrite.java.migrate.jakarta.JavaxDecoratorToJakartaDecorator +displayName: Migrate deprecated `javax.decorator` packages to `jakarta.decorator` +description: Java EE has been rebranded to Jakarta EE, necessitating a package relocation. +recipeList: + - org.openrewrite.maven.UpgradeDependencyVersion: + groupId: jakarta.enterprise + artifactId: jakarta.enterprise.cdi-api + newVersion: 4.x + - org.openrewrite.java.ChangePackage: + oldPackageName: javax.decorator + newPackageName: jakarta.decorator + recursive: true + - org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: + oldGroupId: javax.enterprise + oldArtifactId: cdi-api + newGroupId: jakarta.enterprise + newArtifactId: jakarta.enterprise.cdi-api + newVersion: 4.x + +--- +type: specs.openrewrite.org/v1beta/recipe +name: org.openrewrite.java.migrate.jakarta.JavaxEjbToJakartaEjb +displayName: Migrate deprecated `javax.ejb` packages to `jakarta.ejb` +description: Java EE has been rebranded to Jakarta EE, necessitating a package relocation. +recipeList: + - org.openrewrite.maven.UpgradeDependencyVersion: + groupId: jakarta.ejb + artifactId: jakarta.ejb-api + newVersion: 4.x + - org.openrewrite.java.ChangePackage: + oldPackageName: javax.ejb + newPackageName: jakarta.ejb + recursive: true + - org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: + oldGroupId: javax.ejb + oldArtifactId: javax.ejb-api + newGroupId: jakarta.ejb + newArtifactId: jakarta.ejb-api + newVersion: 4.x + +--- +type: specs.openrewrite.org/v1beta/recipe +name: org.openrewrite.java.migrate.jakarta.JavaxElToJakartaEl +displayName: Migrate deprecated `javax.el` packages to `jakarta.el` +description: Java EE has been rebranded to Jakarta EE, necessitating a package relocation. +recipeList: + - org.openrewrite.maven.UpgradeDependencyVersion: + groupId: jakarta.el + artifactId: jakarta.el-api + newVersion: 4.x + - org.openrewrite.java.ChangePackage: + oldPackageName: javax.el + newPackageName: jakarta.el + recursive: true + - org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: + oldGroupId: javax.el + oldArtifactId: javax.el-api + newGroupId: jakarta.el + newArtifactId: jakarta.el-api + newVersion: 4.x + +--- +type: specs.openrewrite.org/v1beta/recipe +name: org.openrewrite.java.migrate.jakarta.JavaxEnterpriseToJakartaEnterprise +displayName: Migrate deprecated `javax.enterprise` packages to `jakarta.enterprise` +description: Java EE has been rebranded to Jakarta EE, necessitating a package relocation. +recipeList: + - org.openrewrite.maven.UpgradeDependencyVersion: + groupId: jakarta.enterprise + artifactId: jakarta.enterprise.cdi-api + newVersion: 4.x + - org.openrewrite.java.ChangePackage: + oldPackageName: javax.enterprise + newPackageName: jakarta.enterprise + recursive: true + - org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: + oldGroupId: javax.enterprise + oldArtifactId: cdi-api + newGroupId: jakarta.enterprise + newArtifactId: jakarta.enterprise.cdi-api + newVersion: 4.x + +--- +type: specs.openrewrite.org/v1beta/recipe +name: org.openrewrite.java.migrate.jakarta.JavaxFacesToJakartaFaces +displayName: Migrate deprecated `javax.faces` packages to `jakarta.faces` +description: Java EE has been rebranded to Jakarta EE, necessitating a package relocation. +recipeList: + - org.openrewrite.maven.UpgradeDependencyVersion: + groupId: jakarta.faces + artifactId: jakarta.faces-api + newVersion: 4.x + - org.openrewrite.java.ChangePackage: + oldPackageName: javax.faces + newPackageName: jakarta.faces + recursive: true + - org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: + oldGroupId: javax.faces + oldArtifactId: javax.faces-api + newGroupId: jakarta.faces + newArtifactId: jakarta.faces-api + newVersion: 4.x + - org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: + groupId: org.glassfish + artifactId: javax.faces + newGroupId: org.glassfish + newArtifactId: jakarta.faces + newVersion: 4.x + +--- +type: specs.openrewrite.org/v1beta/recipe +name: org.openrewrite.java.migrate.jakarta.JavaxInjectMigrationToJakartaInject +displayName: Migrate deprecated `javax.inject` packages to `jakarta.inject` +description: Java EE has been rebranded to Jakarta EE, necessitating a package relocation. +tags: + - inject + - javax + - jakarta + +recipeList: + - org.openrewrite.maven.UpgradeDependencyVersion: + groupId: jakarta.inject + artifactId: jakarta.inject-api + newVersion: 2.x + - org.openrewrite.java.ChangePackage: + oldPackageName: javax.inject + newPackageName: jakarta.inject + recursive: true + - org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: + oldGroupId: javax.inject + oldArtifactId: javax.inject-api + newGroupId: jakarta.inject + newArtifactId: jakarta.inject-api + newVersion: 2.x + +--- +type: specs.openrewrite.org/v1beta/recipe +name: org.openrewrite.java.migrate.jakarta.JavaxInterceptorToJakartaInterceptor +displayName: Migrate deprecated `javax.interceptor` packages to `jakarta.interceptor` +description: Java EE has been rebranded to Jakarta EE, necessitating a package relocation. +recipeList: + - org.openrewrite.maven.UpgradeDependencyVersion: + groupId: jakarta.interceptor + artifactId: jakarta.interceptor-api + newVersion: 2.x + - org.openrewrite.java.ChangePackage: + oldPackageName: javax.interceptor + newPackageName: jakarta.interceptor + recursive: true + - org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: + oldGroupId: javax.interceptor + oldArtifactId: javax.interceptor-api + newGroupId: jakarta.interceptor + newArtifactId: jakarta.interceptor-api + newVersion: 2.x + +--- +type: specs.openrewrite.org/v1beta/recipe +name: org.openrewrite.java.migrate.jakarta.JavaxJmsToJakartaJms +displayName: Migrate deprecated `javax.jms` packages to `jakarta.jms` +description: Java EE has been rebranded to Jakarta EE, necessitating a package relocation. +recipeList: + - org.openrewrite.maven.UpgradeDependencyVersion: + groupId: jakarta.jms + artifactId: jakarta.jms-api + newVersion: 3.x + - org.openrewrite.java.ChangePackage: + oldPackageName: javax.jms + newPackageName: jakarta.jms + recursive: true + - org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: + oldGroupId: javax.jms + oldArtifactId: javax.jms-api + newGroupId: jakarta.jms + newArtifactId: jakarta.jms-api + newVersion: 3.x + +--- +type: specs.openrewrite.org/v1beta/recipe +name: org.openrewrite.java.migrate.jakarta.JavaxJsonToJakartaJson +displayName: Migrate deprecated `javax.json` packages to `jakarta.json` +description: Java EE has been rebranded to Jakarta EE, necessitating a package relocation. +recipeList: + - org.openrewrite.maven.UpgradeDependencyVersion: + groupId: jakarta.json + artifactId: jakarta.json-api + newVersion: 2.x + - org.openrewrite.java.ChangePackage: + oldPackageName: javax.json + newPackageName: jakarta.json + recursive: true + - org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: + oldGroupId: javax.json + oldArtifactId: javax.json-api + newGroupId: jakarta.json + newArtifactId: jakarta.json-api + newVersion: 2.x + +--- +type: specs.openrewrite.org/v1beta/recipe +name: org.openrewrite.java.migrate.jakarta.JavaxJwsToJakartaJws +displayName: Migrate deprecated `javax.jws` packages to `jakarta.jws` +description: Java EE has been rebranded to Jakarta EE, necessitating a package relocation. +recipeList: + - org.openrewrite.maven.UpgradeDependencyVersion: + groupId: jakarta.jws + artifactId: jakarta.jws-api + newVersion: 3.x + - org.openrewrite.java.ChangePackage: + oldPackageName: javax.jws + newPackageName: jakarta.jws + recursive: true + - org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: + oldGroupId: javax.jws + oldArtifactId: javax.jws-api + newGroupId: jakarta.jws + newArtifactId: jakarta.jws-api + newVersion: 3.x + +--- +type: specs.openrewrite.org/v1beta/recipe +name: org.openrewrite.java.migrate.jakarta.JavaxMailToJakartaMail +displayName: Migrate deprecated `javax.mail` packages to `jakarta.mail` +description: Java EE has been rebranded to Jakarta EE, necessitating a package relocation. +recipeList: + - org.openrewrite.maven.UpgradeDependencyVersion: + groupId: jakarta.mail + artifactId: jakarta.mail-api + newVersion: 2.x + - org.openrewrite.java.ChangePackage: + oldPackageName: javax.mail + newPackageName: jakarta.mail + recursive: true + - org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: + oldGroupId: javax.mail + oldArtifactId: javax.mail-api + newGroupId: jakarta.mail + newArtifactId: jakarta.mail-api + newVersion: 2.x + +--- +type: specs.openrewrite.org/v1beta/recipe +name: org.openrewrite.java.migrate.jakarta.JavaxPersistenceToJakartaPersistence +displayName: Migrate deprecated `javax.persistence` packages to `jakarta.persistence` +description: Java EE has been rebranded to Jakarta EE, necessitating a package relocation +recipeList: + - org.openrewrite.maven.UpgradeDependencyVersion: + groupId: jakarta.persistence + artifactId: jakarta.persistence-api + # TODO upgrade this to 3.x once we have Hibernate ORM 6 + newVersion: 3.0.x + - org.openrewrite.java.ChangePackage: + oldPackageName: javax.persistence + newPackageName: jakarta.persistence + recursive: true + - org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: + oldGroupId: javax.persistence + oldArtifactId: javax.persistence + newGroupId: jakarta.persistence + newArtifactId: jakarta.persistence-api + # TODO upgrade this to 3.x once we have Hibernate ORM 6 + newVersion: 3.0.x + +--- +type: specs.openrewrite.org/v1beta/recipe +name: org.openrewrite.java.migrate.jakarta.JavaxResourceToJakartaResource +displayName: Migrate deprecated `javax.resource` packages to `jakarta.resource` +description: Java EE has been rebranded to Jakarta EE, necessitating a package relocation. +recipeList: + - org.openrewrite.maven.UpgradeDependencyVersion: + groupId: jakarta.resource + artifactId: jakarta.resource-api + newVersion: 2.x + - org.openrewrite.java.ChangePackage: + oldPackageName: javax.resource + newPackageName: jakarta.resource + recursive: true + - org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: + oldGroupId: javax.resource + oldArtifactId: javax.resource-api + newGroupId: jakarta.resource + newArtifactId: jakarta.resource-api + newVersion: 2.x + +--- +type: specs.openrewrite.org/v1beta/recipe +name: org.openrewrite.java.migrate.jakarta.JavaxSecurityToJakartaSecurity +displayName: Migrate deprecated `javax.security.enterprise` packages to `jakarta.security.enterprise` +description: Java EE has been rebranded to Jakarta EE, necessitating a package relocation. +recipeList: + - org.openrewrite.maven.UpgradeDependencyVersion: + groupId: jakarta.security.enterprise + artifactId: jakarta.security.enterprise-api + newVersion: 3.x + - org.openrewrite.java.ChangePackage: + oldPackageName: javax.security.enterprise + newPackageName: jakarta.security.enterprise + recursive: true + - org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: + oldGroupId: javax.security.enterprise + oldArtifactId: javax.security.enterprise-api + newGroupId: jakarta.security.enterprise + newArtifactId: jakarta.security.enterprise-api + newVersion: 3.x + +--- +type: specs.openrewrite.org/v1beta/recipe +name: org.openrewrite.java.migrate.jakarta.JavaxServletToJakartaServlet +displayName: Migrate deprecated `javax.servlet` packages to `jakarta.servlet` +description: Java EE has been rebranded to Jakarta EE, necessitating a package relocation. +recipeList: + - org.openrewrite.maven.UpgradeDependencyVersion: + groupId: jakarta.servlet + artifactId: jakarta.servlet-api + newVersion: 6.x + - org.openrewrite.java.ChangePackage: + oldPackageName: javax.servlet + newPackageName: jakarta.servlet + recursive: true + - org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: + oldGroupId: javax.servlet + oldArtifactId: javax.servlet-api + newGroupId: jakarta.servlet + newArtifactId: jakarta.servlet-api + newVersion: 6.x + +--- +type: specs.openrewrite.org/v1beta/recipe +name: org.openrewrite.java.migrate.jakarta.JavaxTransactionMigrationToJakartaTransaction +displayName: Migrate deprecated `javax.transaction` packages to `jakarta.transaction` +description: Java EE has been rebranded to Jakarta EE, necessitating a package relocation. +tags: + - transaction + - javax + - jakarta + +recipeList: + - org.openrewrite.maven.UpgradeDependencyVersion: + groupId: jakarta.transaction + artifactId: jakarta.transaction-api + newVersion: 2.x + - org.openrewrite.java.ChangePackage: + oldPackageName: javax.transaction + newPackageName: jakarta.transaction + recursive: true + - org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: + oldGroupId: javax.transaction + oldArtifactId: javax.transaction-api + newGroupId: jakarta.transaction + newArtifactId: jakarta.transaction-api + newVersion: 2.x + +--- +type: specs.openrewrite.org/v1beta/recipe +name: org.openrewrite.java.migrate.jakarta.JavaxWebsocketToJakartaWebsocket +displayName: Migrate deprecated `javax.websocket` packages to `jakarta.websocket` +description: Java EE has been rebranded to Jakarta EE, necessitating a package relocation. +recipeList: + - org.openrewrite.maven.UpgradeDependencyVersion: + groupId: jakarta.websocket + artifactId: jakarta.websocket-api + newVersion: 2.x + - org.openrewrite.java.ChangePackage: + oldPackageName: javax.websocket + newPackageName: jakarta.websocket + recursive: true + - org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: + oldGroupId: javax.websocket + oldArtifactId: javax.websocket-api + newGroupId: jakarta.websocket + newArtifactId: jakarta.websocket-api + newVersion: 2.x + +--- +type: specs.openrewrite.org/v1beta/recipe +name: org.openrewrite.java.migrate.jakarta.JavaxWsToJakartaWs +displayName: Migrate deprecated `javax.ws` packages to `jakarta.ws` +description: Java EE has been rebranded to Jakarta EE, necessitating a package relocation. +recipeList: + - org.openrewrite.maven.UpgradeDependencyVersion: + groupId: jakarta.ws.rs + artifactId: jakarta.ws.rs-api + newVersion: 3.x + - org.openrewrite.java.ChangePackage: + oldPackageName: javax.ws + newPackageName: jakarta.ws + recursive: true + - org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: + oldGroupId: javax.ws.rs + oldArtifactId: javax.ws.rs-api + newGroupId: jakarta.ws.rs + newArtifactId: jakarta.ws.rs-api + newVersion: 3.x + +--- +type: specs.openrewrite.org/v1beta/recipe +name: org.openrewrite.java.migrate.jakarta.JavaxXmlBindMigrationToJakartaXmlBind +displayName: Migrate deprecated `javax.xml.bind` packages to `jakarta.xml.bind` +description: Java EE has been rebranded to Jakarta EE, necessitating a package relocation. +tags: + - jaxb + - javax + - jakarta + +recipeList: + - org.openrewrite.maven.UpgradeDependencyVersion: + groupId: jakarta.xml.bind + artifactId: jakarta.xml.bind-api + newVersion: 4.x + - org.openrewrite.maven.UpgradeDependencyVersion: + groupId: org.glassfish.jaxb + artifactId: jaxb-runtime + newVersion: 4.x + - org.openrewrite.java.ChangePackage: + oldPackageName: javax.xml.bind + newPackageName: jakarta.xml.bind + recursive: true + - org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: + oldGroupId: javax.xml.bind + oldArtifactId: jaxb-api + newGroupId: jakarta.xml.bind + newArtifactId: jakarta.xml.bind-api + newVersion: 4.x + - org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: + oldGroupId: com.sun.xml.bind + oldArtifactId: jaxb-impl + newGroupId: org.glassfish.jaxb + newArtifactId: jaxb-runtime + newVersion: 4.x + +--- +type: specs.openrewrite.org/v1beta/recipe +name: org.openrewrite.java.migrate.jakarta.JavaxXmlSoapToJakartaXmlSoap +displayName: Migrate deprecated `javax.soap` packages to `jakarta.soap` +description: Java EE has been rebranded to Jakarta EE, necessitating a package relocation. +recipeList: + - org.openrewrite.maven.UpgradeDependencyVersion: + groupId: jakarta.xml.soap + artifactId: jakarta.xml.soap-api + newVersion: 3.x + - org.openrewrite.java.ChangePackage: + oldPackageName: javax.xml.soap + newPackageName: jakarta.xml.soap + recursive: true + - org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: + oldGroupId: javax.xml.soap + oldArtifactId: javax.xml.soap-api + newGroupId: jakarta.xml.soap + newArtifactId: jakarta.xml.soap-api + newVersion: 3.x + +--- +type: specs.openrewrite.org/v1beta/recipe +name: org.openrewrite.java.migrate.jakarta.JavaxXmlWsMigrationToJakartaXmlWs +displayName: Migrate deprecated `javax.xml.ws` packages to `jakarta.xml.ws` +description: Java EE has been rebranded to Jakarta EE, necessitating a package relocation. +tags: + - jaxws + - javax + - jakarta + +recipeList: + - org.openrewrite.maven.UpgradeDependencyVersion: + groupId: jakarta.xml.ws + artifactId: jakarta.xml.ws-api + newVersion: 4.x + - org.openrewrite.java.ChangePackage: + oldPackageName: javax.xml.ws + newPackageName: jakarta.xml.ws + recursive: true + - org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: + oldGroupId: javax.xml.ws + oldArtifactId: jaxws-api + newGroupId: jakarta.xml.ws + newArtifactId: jakarta.xml.ws-api + newVersion: 4.x + +--- +type: specs.openrewrite.org/v1beta/recipe +name: org.openrewrite.java.migrate.jakarta.JavaxPersistenceXmlToJakartaPersistenceXml +displayName: Migrate xmlns entries in `persistence.xml` files +description: Java EE has been rebranded to Jakarta EE, necessitating an XML namespace relocation. + +recipeList: + # TODO upgrade for JPA 3.1 + - org.openrewrite.xml.ChangeTagAttribute: + attributeName: name + elementName: //property + oldValue: javax.persistence + newValue: jakarta.persistence + fileMatcher: "**/persistence.xml" + - org.openrewrite.xml.ChangeTagAttribute: + attributeName: version + elementName: persistence + newValue: 3.0 + fileMatcher: "**/persistence.xml" + - org.openrewrite.xml.ChangeTagAttribute: + attributeName: xmlns + elementName: persistence + oldValue: http://xmlns.jcp.org + newValue: https://jakarta.ee + fileMatcher: "**/persistence.xml" + - org.openrewrite.xml.ChangeTagAttribute: + attributeName: xsi:schemaLocation + elementName: persistence + newValue: https://jakarta.ee/xml/ns/persistence https://jakarta.ee/xml/ns/persistence/persistence_3_0.xsd + fileMatcher: "**/persistence.xml" + +--- +type: specs.openrewrite.org/v1beta/recipe +name: org.openrewrite.java.migrate.jakarta.JacksonJavaxToJakarta +displayName: Migrate Jackson from javax to jakarta namespace +description: > + Java EE has been rebranded to Jakarta EE. This recipe replaces existing Jackson dependencies with their counterparts + that are compatible with Jakarta EE. + +recipeList: + # JAXB annotations support + - org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: + oldGroupId: com.fasterxml.jackson.module + oldArtifactId: jackson-module-jaxb-annotations + newGroupId: com.fasterxml.jackson.module + newArtifactId: jackson-module-jakarta-xmlbind-annotations + - org.openrewrite.maven.ChangeManagedDependencyGroupIdAndArtifactId: + oldGroupId: com.fasterxml.jackson.module + oldArtifactId: jackson-module-jaxb-annotations + newGroupId: com.fasterxml.jackson.module + newArtifactId: jackson-module-jakarta-xmlbind-annotations + # JAXRS providers + - org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: + oldGroupId: com.fasterxml.jackson.jaxrs + oldArtifactId: jackson-jaxrs-cbor-provider + newGroupId: com.fasterxml.jackson.jakarta.rs + newArtifactId: jackson-jakarta-rs-cbor-provider + - org.openrewrite.maven.ChangeManagedDependencyGroupIdAndArtifactId: + oldGroupId: com.fasterxml.jackson.jaxrs + oldArtifactId: jackson-jaxrs-cbor-provider + newGroupId: com.fasterxml.jackson.jakarta.rs + newArtifactId: jackson-jakarta-rs-cbor-provider + - org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: + oldGroupId: com.fasterxml.jackson.jaxrs + oldArtifactId: jackson-jaxrs-json-provider + newGroupId: com.fasterxml.jackson.jakarta.rs + newArtifactId: jackson-jakarta-rs-json-provider + - org.openrewrite.maven.ChangeManagedDependencyGroupIdAndArtifactId: + oldGroupId: com.fasterxml.jackson.jaxrs + oldArtifactId: jackson-jaxrs-json-provider + newGroupId: com.fasterxml.jackson.jakarta.rs + newArtifactId: jackson-jakarta-rs-json-provider + - org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: + oldGroupId: com.fasterxml.jackson.jaxrs + oldArtifactId: jackson-jaxrs-smile-provider + newGroupId: com.fasterxml.jackson.jakarta.rs + newArtifactId: jackson-jakarta-rs-smile-provider + - org.openrewrite.maven.ChangeManagedDependencyGroupIdAndArtifactId: + oldGroupId: com.fasterxml.jackson.jaxrs + oldArtifactId: jackson-jaxrs-smile-provider + newGroupId: com.fasterxml.jackson.jakarta.rs + newArtifactId: jackson-jakarta-rs-smile-provider + - org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: + oldGroupId: com.fasterxml.jackson.jaxrs + oldArtifactId: jackson-jaxrs-xml-provider + newGroupId: com.fasterxml.jackson.jakarta.rs + newArtifactId: jackson-jakarta-rs-xml-provider + - org.openrewrite.maven.ChangeManagedDependencyGroupIdAndArtifactId: + oldGroupId: com.fasterxml.jackson.jaxrs + oldArtifactId: jackson-jaxrs-xml-provider + newGroupId: com.fasterxml.jackson.jakarta.rs + newArtifactId: jackson-jakarta-rs-xml-provider + - org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: + oldGroupId: com.fasterxml.jackson.jaxrs + oldArtifactId: jackson-jaxrs-yaml-provider + newGroupId: com.fasterxml.jackson.jakarta.rs + newArtifactId: jackson-jakarta-rs-yaml-provider + - org.openrewrite.maven.ChangeManagedDependencyGroupIdAndArtifactId: + oldGroupId: com.fasterxml.jackson.jaxrs + oldArtifactId: jackson-jaxrs-yaml-provider + newGroupId: com.fasterxml.jackson.jakarta.rs + newArtifactId: jackson-jakarta-rs-yaml-provider + # JSONP datatypes + - org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: + oldGroupId: com.fasterxml.jackson.datatype + oldArtifactId: jackson-datatype-jsr353 + newGroupId: com.fasterxml.jackson.datatype + newArtifactId: jackson-datatype-jakarta-jsonp + - org.openrewrite.maven.ChangeManagedDependencyGroupIdAndArtifactId: + oldGroupId: com.fasterxml.jackson.datatype + oldArtifactId: jackson-datatype-jsr353 + newGroupId: com.fasterxml.jackson.datatype + newArtifactId: jackson-datatype-jakarta-jsonp + - org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: + oldGroupId: org.glassfish + oldArtifactId: javax.json + newGroupId: org.eclipse.parsson + newArtifactId: parsson + - org.openrewrite.maven.ChangeManagedDependencyGroupIdAndArtifactId: + oldGroupId: org.glassfish + oldArtifactId: javax.json + newGroupId: org.eclipse.parsson + newArtifactId: parsson + - org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: + oldGroupId: org.glassfish + oldArtifactId: jakarta.json + newGroupId: org.eclipse.parsson + newArtifactId: parsson + - org.openrewrite.maven.ChangeManagedDependencyGroupIdAndArtifactId: + oldGroupId: org.glassfish + oldArtifactId: jakarta.json + newGroupId: org.eclipse.parsson + newArtifactId: parsson + - org.openrewrite.java.ChangeType: + oldFullyQualifiedTypeName: com.fasterxml.jackson.datatype.jsr353.JSR353Module + newFullyQualifiedTypeName: com.fasterxml.jackson.datatype.jsonp.JSONPModule + - org.openrewrite.java.ChangePackage: + oldPackageName: com.fasterxml.jackson.jaxrs + newPackageName: com.fasterxml.jackson.jakarta.rs + recursive: true + +--- +# 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 +description: > + Java EE has been rebranded to Jakarta EE. This recipe replaces existing RestAssured dependencies with their + counterparts that are compatible with Jakarta EE. +recipeList: + - org.openrewrite.maven.UpgradeDependencyVersion: + groupId: io.rest-assured + artifactId: "*" + newVersion: 5.x +##### +# Additional rules coming from our Quarkus Jakarta migration and feedback from the field +##### +--- +type: specs.openrewrite.org/v1beta/recipe +name: io.quarkus.updates.core.quarkus30.JavaxToJakartaAdditionalMigration +recipeList: + - org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: + oldGroupId: org.glassfish + oldArtifactId: jakarta.el + newGroupId: org.glassfish.expressly + newArtifactId: expressly + - org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: + oldGroupId: org.hibernate + oldArtifactId: hibernate-core + newGroupId: org.hibernate.orm + - org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: + oldGroupId: org.hibernate + oldArtifactId: hibernate-envers + newGroupId: org.hibernate.orm + - org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: + oldGroupId: org.hibernate + oldArtifactId: hibernate-jpamodelgen + newGroupId: org.hibernate.orm + - org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: + oldGroupId: org.hibernate + oldArtifactId: hibernate-spatial + newGroupId: org.hibernate.orm + - org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: + oldGroupId: org.hibernate + oldArtifactId: hibernate-testing + newGroupId: org.hibernate.orm + - org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: + oldGroupId: org.hibernate + oldArtifactId: hibernate-micrometer + newGroupId: org.hibernate.orm + - org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: + oldGroupId: org.hibernate + oldArtifactId: hibernate-jcache + newGroupId: org.hibernate.orm + - org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: + oldGroupId: org.hibernate + oldArtifactId: hibernate-infinispan + newGroupId: org.hibernate.orm + - org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: + oldGroupId: org.hibernate + oldArtifactId: hibernate-ehcache + newGroupId: org.hibernate.orm + - org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: + oldGroupId: org.hibernate.search + oldArtifactId: hibernate-search-mapper-orm-coordination-outbox-polling + newGroupId: org.hibernate.search + newArtifactId: hibernate-search-mapper-orm-coordination-outbox-polling-jakarta + - org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: + oldGroupId: org.hibernate.search + oldArtifactId: hibernate-search-mapper-orm + newGroupId: org.hibernate.search + newArtifactId: hibernate-search-mapper-orm-jakarta + - org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: + oldGroupId: org.hibernate + oldArtifactId: quarkus-local-cache + newGroupId: org.hibernate + newArtifactId: quarkus-local-cache-jakarta + - org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: + oldGroupId: org.jboss.spec.javax.ws.rs + oldArtifactId: jboss-jaxrs-api_2.1_spec + newGroupId: jakarta.ws.rs + newArtifactId: jakarta.ws.rs-api + - org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: + oldGroupId: org.jboss.spec.javax.xml.bind + oldArtifactId: jboss-jaxb-api_2.3_spec + newGroupId: jakarta.xml.bind + newArtifactId: jakarta.xml.bind-api + - org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: + oldGroupId: org.jboss.spec.javax.transaction + oldArtifactId: jboss-transaction-api_1.3_spec + newGroupId: jakarta.transaction + newArtifactId: jakarta.transaction-api + - org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: + oldGroupId: com.sun.activation + oldArtifactId: jakarta.activation + newGroupId: org.eclipse.angus + newArtifactId: angus-activation + - org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: + oldGroupId: com.sun.activation + oldArtifactId: javax.activation + newGroupId: org.eclipse.angus + newArtifactId: angus-activation + - org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: + oldGroupId: org.jboss.spec.javax.ejb + oldArtifactId: jboss-ejb-api_3.1_spec + newGroupId: jakarta.ejb + newArtifactId: jakarta.ejb-api + - org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: + oldGroupId: org.keycloak + oldArtifactId: keycloak-admin-client + newGroupId: org.keycloak + newArtifactId: keycloak-admin-client-jakarta + - org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: + oldGroupId: org.keycloak + oldArtifactId: keycloak-admin-client + newGroupId: org.keycloak + newArtifactId: keycloak-admin-client-jakarta +# Commented for now as OpenRewrite doesn't reload the model and adds the exclusions +# even when the artifacts are not transitive dependencies in Quarkus 3 +# - org.openrewrite.maven.ExcludeDependency: +# groupId: com.sun.activation +# artifactId: jakarta.activation +# - org.openrewrite.maven.ExcludeDependency: +# groupId: com.sun.activation +# artifactId: javax.activation +# - org.openrewrite.maven.ExcludeDependency: +# groupId: org.glassfish +# artifactId: jakarta.el + +#### +# Rename javax service files +#### +--- +type: specs.openrewrite.org/v1beta/recipe +name: io.quarkus.updates.core.quarkus30.RenameJavaxServiceFiles +displayName: Rename a file example +recipeList: + - org.openrewrite.RenameFile: + fileMatcher: '**/META-INF/services/javax.ws.rs.ext.Providers' + fileName: jakarta.ws.rs.ext.Providers + - org.openrewrite.RenameFile: + fileMatcher: '**/META-INF/services/javax.ws.rs.client.ClientBuilder' + fileName: jakarta.ws.rs.client.ClientBuilder + - org.openrewrite.RenameFile: + fileMatcher: '**/META-INF/services/javax.ws.rs.sse.SseEventSource$Builder' + fileName: jakarta.ws.rs.sse.SseEventSource$Builder + +##### +# Additional recipes for Quarkus 3 not related to the Jakarta migration +##### +--- +type: specs.openrewrite.org/v1beta/recipe +name: io.quarkus.updates.core.quarkus30.AdditionalChanges +recipeList: + - org.openrewrite.java.ChangeType: + oldFullyQualifiedTypeName: org.jboss.resteasy.reactive.server.core.multipart.MultipartFormDataOutput + newFullyQualifiedTypeName: org.jboss.resteasy.reactive.server.multipart.MultipartFormDataOutput + - org.openrewrite.java.ChangeType: + oldFullyQualifiedTypeName: org.jboss.resteasy.reactive.server.core.multipart.PartItem + newFullyQualifiedTypeName: org.jboss.resteasy.reactive.server.multipart.PartItem + - org.openrewrite.java.ChangeType: + oldFullyQualifiedTypeName: org.jboss.resteasy.reactive.server.core.multipart.FormData.FormValue + newFullyQualifiedTypeName: org.jboss.resteasy.reactive.server.multipart.FormValue + - org.openrewrite.java.ChangeType: + oldFullyQualifiedTypeName: io.quarkus.test.junit.NativeImageTest + newFullyQualifiedTypeName: io.quarkus.test.junit.QuarkusIntegrationTest + - org.openrewrite.java.ChangeType: + oldFullyQualifiedTypeName: io.quarkus.test.junit.DisabledOnNativeImage + newFullyQualifiedTypeName: io.quarkus.test.junit.DisabledOnIntegrationTest + - org.openrewrite.java.ChangeType: + oldFullyQualifiedTypeName: org.jboss.resteasy.reactive.MultipartForm + newFullyQualifiedTypeName: jakarta.ws.rs.BeanParam + - org.openrewrite.java.ChangeType: + oldFullyQualifiedTypeName: io.smallrye.reactive.messaging.providers.connectors.InMemoryConnector + newFullyQualifiedTypeName: io.smallrye.reactive.messaging.memory.InMemoryConnector + - org.openrewrite.java.ChangeType: + oldFullyQualifiedTypeName: io.quarkus.hibernate.reactive.panache.common.runtime.ReactiveTransactional + newFullyQualifiedTypeName: io.quarkus.hibernate.reactive.panache.common.WithTransaction + - org.openrewrite.java.ChangeType: + oldFullyQualifiedTypeName: io.quarkus.arc.Priority + newFullyQualifiedTypeName: jakarta.annotation.Priority + - org.openrewrite.text.FindAndReplace: + find: quarkus-bootstrap-maven-plugin + replace: quarkus-extension-maven-plugin + fileMatcher: '**/pom.xml' + +##### +# Adjust properties in application.properties +##### +--- +type: specs.openrewrite.org/v1beta/recipe +name: io.quarkus.updates.core.quarkus30.ApplicationProperties +applicability: + singleSource: + - org.openrewrite.FindSourceFiles: + filePattern: "**/application*.properties" +recipeList: + - org.openrewrite.properties.ChangePropertyKey: + oldPropertyKey: quarkus.kubernetes.expose + newPropertyKey: quarkus.kubernetes.ingress.expose + - org.openrewrite.properties.ChangePropertyKey: + oldPropertyKey: quarkus.openshift.expose + newPropertyKey: quarkus.openshift.route.expose + - org.openrewrite.properties.ChangePropertyKey: + oldPropertyKey: quarkus.kubernetes.host + newPropertyKey: quarkus.kubernetes.ingress.host + - org.openrewrite.properties.ChangePropertyKey: + oldPropertyKey: quarkus.openshift.host + newPropertyKey: quarkus.openshift.route.host + - org.openrewrite.properties.ChangePropertyKey: + oldPropertyKey: quarkus.kubernetes.group + newPropertyKey: quarkus.kubernetes.part-of + - org.openrewrite.properties.ChangePropertyKey: + oldPropertyKey: quarkus.openshift.group + newPropertyKey: quarkus.openshift.part-of + - org.openrewrite.properties.ChangePropertyKey: + oldPropertyKey: quarkus.jib.labels + newPropertyKey: quarkus.container-image.labels + +##### +# Adjust properties in application.yml +##### +--- +type: specs.openrewrite.org/v1beta/recipe +name: io.quarkus.updates.core.quarkus30.ApplicationYml +applicability: + singleSource: + - org.openrewrite.FindSourceFiles: + filePattern: "**/application*.yml" +recipeList: + - org.openrewrite.yaml.ChangePropertyKey: + oldPropertyKey: quarkus.kubernetes.expose + newPropertyKey: quarkus.kubernetes.ingress.expose + - org.openrewrite.yaml.ChangePropertyKey: + oldPropertyKey: quarkus.openshift.expose + newPropertyKey: quarkus.openshift.route.expose + - org.openrewrite.yaml.ChangePropertyKey: + oldPropertyKey: quarkus.kubernetes.host + newPropertyKey: quarkus.kubernetes.ingress.host + - org.openrewrite.yaml.ChangePropertyKey: + oldPropertyKey: quarkus.openshift.host + newPropertyKey: quarkus.openshift.route.host + - org.openrewrite.yaml.ChangePropertyKey: + oldPropertyKey: quarkus.kubernetes.group + newPropertyKey: quarkus.kubernetes.part-of + - org.openrewrite.yaml.ChangePropertyKey: + oldPropertyKey: quarkus.openshift.group + newPropertyKey: quarkus.openshift.part-of + - org.openrewrite.properties.ChangePropertyKey: + oldPropertyKey: quarkus.jib.labels + newPropertyKey: quarkus.container-image.labels + +##### +# Adjust properties in application.yaml +##### +--- +type: specs.openrewrite.org/v1beta/recipe +name: io.quarkus.updates.core.quarkus30.ApplicationYaml +applicability: + singleSource: + - org.openrewrite.FindSourceFiles: + filePattern: "**/application*.yaml" +recipeList: + - org.openrewrite.yaml.ChangePropertyKey: + oldPropertyKey: quarkus.kubernetes.expose + newPropertyKey: quarkus.kubernetes.ingress.expose + - org.openrewrite.yaml.ChangePropertyKey: + oldPropertyKey: quarkus.openshift.expose + newPropertyKey: quarkus.openshift.route.expose + - org.openrewrite.yaml.ChangePropertyKey: + oldPropertyKey: quarkus.kubernetes.host + newPropertyKey: quarkus.kubernetes.ingress.host + - org.openrewrite.yaml.ChangePropertyKey: + oldPropertyKey: quarkus.openshift.host + newPropertyKey: quarkus.openshift.route.host + - org.openrewrite.yaml.ChangePropertyKey: + oldPropertyKey: quarkus.kubernetes.group + newPropertyKey: quarkus.kubernetes.part-of + - org.openrewrite.yaml.ChangePropertyKey: + oldPropertyKey: quarkus.openshift.group + newPropertyKey: quarkus.openshift.part-of + - org.openrewrite.properties.ChangePropertyKey: + oldPropertyKey: quarkus.jib.labels + newPropertyKey: quarkus.container-image.labels + +##### +# Generated by PropertiesToRecipe.java from jakarta-renames.properties +##### +--- +type: specs.openrewrite.org/v1beta/recipe +name: io.quarkus.updates.core.quarkus30.JavaxToJakartaDocumentationAdoc +applicability: + singleSource: + - org.openrewrite.FindSourceFiles: + filePattern: "**/*.adoc" +recipeList: + - org.openrewrite.text.FindAndReplace: + find: javax.json.bind.config. + replace: jakarta.json.bind.config. + - org.openrewrite.text.FindAndReplace: + find: javax.xml.soap. + replace: jakarta.xml.soap. + - org.openrewrite.text.FindAndReplace: + find: javax.security.jacc. + replace: jakarta.security.jacc. + - org.openrewrite.text.FindAndReplace: + find: javax.mail.internet. + replace: jakarta.mail.internet. + - org.openrewrite.text.FindAndReplace: + find: javax.batch.api.chunk. + replace: jakarta.batch.api.chunk. + - org.openrewrite.text.FindAndReplace: + find: javax.json.spi. + replace: jakarta.json.spi. + - org.openrewrite.text.FindAndReplace: + find: javax.resource. + replace: jakarta.resource. + - org.openrewrite.text.FindAndReplace: + find: javax.resource.spi.work. + replace: jakarta.resource.spi.work. + - org.openrewrite.text.FindAndReplace: + find: javax.xml.bind.annotation.adapters. + replace: jakarta.xml.bind.annotation.adapters. + - org.openrewrite.text.FindAndReplace: + find: javax.faces.webapp. + replace: jakarta.faces.webapp. + - org.openrewrite.text.FindAndReplace: + find: javax.faces.application. + replace: jakarta.faces.application. + - org.openrewrite.text.FindAndReplace: + find: javax.xml.bind.util. + replace: jakarta.xml.bind.util. + - org.openrewrite.text.FindAndReplace: + find: javax.persistence.criteria. + replace: jakarta.persistence.criteria. + - org.openrewrite.text.FindAndReplace: + find: javax.faces.event. + replace: jakarta.faces.event. + - org.openrewrite.text.FindAndReplace: + find: javax.activation. + replace: jakarta.activation. + - org.openrewrite.text.FindAndReplace: + find: javax.faces.flow.builder. + replace: jakarta.faces.flow.builder. + - org.openrewrite.text.FindAndReplace: + find: javax.websocket. + replace: jakarta.websocket. + - org.openrewrite.text.FindAndReplace: + find: javax.json.bind.serializer. + replace: jakarta.json.bind.serializer. + - org.openrewrite.text.FindAndReplace: + find: javax.enterprise.inject.se. + replace: jakarta.enterprise.inject.se. + - org.openrewrite.text.FindAndReplace: + find: javax.resource.cci. + replace: jakarta.resource.cci. + - org.openrewrite.text.FindAndReplace: + find: javax.validation.spi. + replace: jakarta.validation.spi. + - org.openrewrite.text.FindAndReplace: + find: javax.transaction. + replace: jakarta.transaction. + - org.openrewrite.text.FindAndReplace: + find: javax.xml.bind.attachment. + replace: jakarta.xml.bind.attachment. + - org.openrewrite.text.FindAndReplace: + find: javax.interceptor. + replace: jakarta.interceptor. + - org.openrewrite.text.FindAndReplace: + find: javax.xml.bind.helpers. + replace: jakarta.xml.bind.helpers. + - org.openrewrite.text.FindAndReplace: + find: javax.ejb.embeddable. + replace: jakarta.ejb.embeddable. + - org.openrewrite.text.FindAndReplace: + find: javax.persistence. + replace: jakarta.persistence. + - org.openrewrite.text.FindAndReplace: + find: javax.enterprise.inject. + replace: jakarta.enterprise.inject. + - org.openrewrite.text.FindAndReplace: + find: javax.mail.event. + replace: jakarta.mail.event. + - org.openrewrite.text.FindAndReplace: + find: javax.resource.spi.endpoint. + replace: jakarta.resource.spi.endpoint. + - org.openrewrite.text.FindAndReplace: + find: javax.faces.component.visit. + replace: jakarta.faces.component.visit. + - org.openrewrite.text.FindAndReplace: + find: javax.servlet.jsp.jstl. + replace: jakarta.servlet.jsp.jstl. + - org.openrewrite.text.FindAndReplace: + find: javax.servlet.jsp.el. + replace: jakarta.servlet.jsp.el. + - org.openrewrite.text.FindAndReplace: + find: javax.faces.el. + replace: jakarta.faces.el. + - org.openrewrite.text.FindAndReplace: + find: javax.xml.bind. + replace: jakarta.xml.bind. + - org.openrewrite.text.FindAndReplace: + find: javax.json.bind.adapter. + replace: jakarta.json.bind.adapter. + - org.openrewrite.text.FindAndReplace: + find: javax.validation.valueextraction. + replace: jakarta.validation.valueextraction. + - org.openrewrite.text.FindAndReplace: + find: javax.faces.view.facelets. + replace: jakarta.faces.view.facelets. + - org.openrewrite.text.FindAndReplace: + find: javax.faces.flow. + replace: jakarta.faces.flow. + - org.openrewrite.text.FindAndReplace: + find: javax.faces.render. + replace: jakarta.faces.render. + - org.openrewrite.text.FindAndReplace: + find: javax.mail.util. + replace: jakarta.mail.util. + - org.openrewrite.text.FindAndReplace: + find: javax.batch.runtime.context. + replace: jakarta.batch.runtime.context. + - org.openrewrite.text.FindAndReplace: + find: javax.annotation.security. + replace: jakarta.annotation.security. + - org.openrewrite.text.FindAndReplace: + find: javax.faces.component. + replace: jakarta.faces.component. + - org.openrewrite.text.FindAndReplace: + find: javax.servlet.jsp.jstl.fmt. + replace: jakarta.servlet.jsp.jstl.fmt. + - org.openrewrite.text.FindAndReplace: + find: javax.json.bind.spi. + replace: jakarta.json.bind.spi. + - org.openrewrite.text.FindAndReplace: + find: javax.servlet. + replace: jakarta.servlet. + - org.openrewrite.text.FindAndReplace: + find: javax.batch.operations. + replace: jakarta.batch.operations. + - org.openrewrite.text.FindAndReplace: + find: javax.faces.push. + replace: jakarta.faces.push. + - org.openrewrite.text.FindAndReplace: + find: javax.servlet.descriptor. + replace: jakarta.servlet.descriptor. + - org.openrewrite.text.FindAndReplace: + find: javax.xml.ws.handler.soap. + replace: jakarta.xml.ws.handler.soap. + - org.openrewrite.text.FindAndReplace: + find: javax.validation.executable. + replace: jakarta.validation.executable. + - org.openrewrite.text.FindAndReplace: + find: javax.faces.component.behavior. + replace: jakarta.faces.component.behavior. + - org.openrewrite.text.FindAndReplace: + find: javax.xml.bind.annotation. + replace: jakarta.xml.bind.annotation. + - org.openrewrite.text.FindAndReplace: + find: javax.batch.runtime. + replace: jakarta.batch.runtime. + - org.openrewrite.text.FindAndReplace: + find: javax.json.stream. + replace: jakarta.json.stream. + - org.openrewrite.text.FindAndReplace: + find: javax.servlet.annotation. + replace: jakarta.servlet.annotation. + - org.openrewrite.text.FindAndReplace: + find: javax.servlet.resources. + replace: jakarta.servlet.resources. + - org.openrewrite.text.FindAndReplace: + find: javax.servlet.http. + replace: jakarta.servlet.http. + - org.openrewrite.text.FindAndReplace: + find: javax.xml.ws.spi.http. + replace: jakarta.xml.ws.spi.http. + - org.openrewrite.text.FindAndReplace: + find: javax.ws.rs.container. + replace: jakarta.ws.rs.container. + - org.openrewrite.text.FindAndReplace: + find: javax.xml.ws. + replace: jakarta.xml.ws. + - org.openrewrite.text.FindAndReplace: + find: javax.enterprise.context.spi. + replace: jakarta.enterprise.context.spi. + - org.openrewrite.text.FindAndReplace: + find: javax.resource.spi. + replace: jakarta.resource.spi. + - org.openrewrite.text.FindAndReplace: + find: javax.faces.validator. + replace: jakarta.faces.validator. + - org.openrewrite.text.FindAndReplace: + find: javax.jws. + replace: jakarta.jws. + - org.openrewrite.text.FindAndReplace: + find: javax.annotation. + replace: jakarta.annotation. + - org.openrewrite.text.FindAndReplace: + find: javax.faces.component.search. + replace: jakarta.faces.component.search. + - org.openrewrite.text.FindAndReplace: + find: javax.json.bind. + replace: jakarta.json.bind. + - org.openrewrite.text.FindAndReplace: + find: javax.servlet.jsp.jstl.tlv. + replace: jakarta.servlet.jsp.jstl.tlv. + - org.openrewrite.text.FindAndReplace: + find: javax.servlet.jsp.jstl.core. + replace: jakarta.servlet.jsp.jstl.core. + - org.openrewrite.text.FindAndReplace: + find: javax.decorator. + replace: jakarta.decorator. + - org.openrewrite.text.FindAndReplace: + find: javax.faces.bean. + replace: jakarta.faces.bean. + - org.openrewrite.text.FindAndReplace: + find: javax.ws.rs.sse. + replace: jakarta.ws.rs.sse. + - org.openrewrite.text.FindAndReplace: + find: javax.persistence.metamodel. + replace: jakarta.persistence.metamodel. + - org.openrewrite.text.FindAndReplace: + find: javax.enterprise.context. + replace: jakarta.enterprise.context. + - org.openrewrite.text.FindAndReplace: + find: javax.xml.ws.spi. + replace: jakarta.xml.ws.spi. + - org.openrewrite.text.FindAndReplace: + find: javax.batch.api. + replace: jakarta.batch.api. + - org.openrewrite.text.FindAndReplace: + find: javax.el. + replace: jakarta.el. + - org.openrewrite.text.FindAndReplace: + find: javax.json. + replace: jakarta.json. + - org.openrewrite.text.FindAndReplace: + find: javax.batch.api.chunk.listener. + replace: jakarta.batch.api.chunk.listener. + - org.openrewrite.text.FindAndReplace: + find: javax.persistence.spi. + replace: jakarta.persistence.spi. + - org.openrewrite.text.FindAndReplace: + find: javax.xml.ws.handler. + replace: jakarta.xml.ws.handler. + - org.openrewrite.text.FindAndReplace: + find: javax.servlet.jsp.jstl.sql. + replace: jakarta.servlet.jsp.jstl.sql. + - org.openrewrite.text.FindAndReplace: + find: javax.enterprise.inject.literal. + replace: jakarta.enterprise.inject.literal. + - org.openrewrite.text.FindAndReplace: + find: javax.ws.rs.ext. + replace: jakarta.ws.rs.ext. + - org.openrewrite.text.FindAndReplace: + find: javax.validation.constraints. + replace: jakarta.validation.constraints. + - org.openrewrite.text.FindAndReplace: + find: javax.servlet.jsp.resources. + replace: jakarta.servlet.jsp.resources. + - org.openrewrite.text.FindAndReplace: + find: javax.validation.constraintvalidation. + replace: jakarta.validation.constraintvalidation. + - org.openrewrite.text.FindAndReplace: + find: javax.faces.lifecycle. + replace: jakarta.faces.lifecycle. + - org.openrewrite.text.FindAndReplace: + find: javax.security.auth.message.callback. + replace: jakarta.security.auth.message.callback. + - org.openrewrite.text.FindAndReplace: + find: javax.ws.rs. + replace: jakarta.ws.rs. + - org.openrewrite.text.FindAndReplace: + find: javax.security.auth.message.config. + replace: jakarta.security.auth.message.config. + - org.openrewrite.text.FindAndReplace: + find: javax.websocket.server. + replace: jakarta.websocket.server. + - org.openrewrite.text.FindAndReplace: + find: javax.security.enterprise.authentication.mechanism.http. + replace: jakarta.security.enterprise.authentication.mechanism.http. + - org.openrewrite.text.FindAndReplace: + find: javax.enterprise.event. + replace: jakarta.enterprise.event. + - org.openrewrite.text.FindAndReplace: + find: javax.inject. + replace: jakarta.inject. + - org.openrewrite.text.FindAndReplace: + find: javax.batch.api.listener. + replace: jakarta.batch.api.listener. + - org.openrewrite.text.FindAndReplace: + find: javax.xml.ws.http. + replace: jakarta.xml.ws.http. + - org.openrewrite.text.FindAndReplace: + find: javax.xml.ws.soap. + replace: jakarta.xml.ws.soap. + - org.openrewrite.text.FindAndReplace: + find: javax.enterprise.inject.spi. + replace: jakarta.enterprise.inject.spi. + - org.openrewrite.text.FindAndReplace: + find: javax.faces. + replace: jakarta.faces. + - org.openrewrite.text.FindAndReplace: + find: javax.jms. + replace: jakarta.jms. + - org.openrewrite.text.FindAndReplace: + find: javax.xml.ws.wsaddressing. + replace: jakarta.xml.ws.wsaddressing. + - org.openrewrite.text.FindAndReplace: + find: javax.validation.bootstrap. + replace: jakarta.validation.bootstrap. + - org.openrewrite.text.FindAndReplace: + find: javax.ejb.spi. + replace: jakarta.ejb.spi. + - org.openrewrite.text.FindAndReplace: + find: javax.validation.metadata. + replace: jakarta.validation.metadata. + - org.openrewrite.text.FindAndReplace: + find: javax.servlet.jsp. + replace: jakarta.servlet.jsp. + - org.openrewrite.text.FindAndReplace: + find: javax.faces.convert. + replace: jakarta.faces.convert. + - org.openrewrite.text.FindAndReplace: + find: javax.mail. + replace: jakarta.mail. + - org.openrewrite.text.FindAndReplace: + find: javax.enterprise.concurrent. + replace: jakarta.enterprise.concurrent. + - org.openrewrite.text.FindAndReplace: + find: javax.batch.api.partition. + replace: jakarta.batch.api.partition. + - org.openrewrite.text.FindAndReplace: + find: javax.faces.component.html. + replace: jakarta.faces.component.html. + - org.openrewrite.text.FindAndReplace: + find: javax.enterprise.inject.spi.configurator. + replace: jakarta.enterprise.inject.spi.configurator. + - org.openrewrite.text.FindAndReplace: + find: javax.security.enterprise.credential. + replace: jakarta.security.enterprise.credential. + - org.openrewrite.text.FindAndReplace: + find: javax.enterprise.context.control. + replace: jakarta.enterprise.context.control. + - org.openrewrite.text.FindAndReplace: + find: javax.json.bind.annotation. + replace: jakarta.json.bind.annotation. + - org.openrewrite.text.FindAndReplace: + find: javax.mail.search. + replace: jakarta.mail.search. + - org.openrewrite.text.FindAndReplace: + find: javax.enterprise.util. + replace: jakarta.enterprise.util. + - org.openrewrite.text.FindAndReplace: + find: javax.ws.rs.client. + replace: jakarta.ws.rs.client. + - org.openrewrite.text.FindAndReplace: + find: javax.faces.model. + replace: jakarta.faces.model. + - org.openrewrite.text.FindAndReplace: + find: javax.resource.spi.security. + replace: jakarta.resource.spi.security. + - org.openrewrite.text.FindAndReplace: + find: javax.faces.view. + replace: jakarta.faces.view. + - org.openrewrite.text.FindAndReplace: + find: javax.security.enterprise. + replace: jakarta.security.enterprise. + - org.openrewrite.text.FindAndReplace: + find: javax.servlet.jsp.tagext. + replace: jakarta.servlet.jsp.tagext. + - org.openrewrite.text.FindAndReplace: + find: javax.ws.rs.core. + replace: jakarta.ws.rs.core. + - org.openrewrite.text.FindAndReplace: + find: javax.security.auth.message.module. + replace: jakarta.security.auth.message.module. + - org.openrewrite.text.FindAndReplace: + find: javax.faces.context. + replace: jakarta.faces.context. + - org.openrewrite.text.FindAndReplace: + find: javax.security.auth.message. + replace: jakarta.security.auth.message. + - org.openrewrite.text.FindAndReplace: + find: javax.annotation.sql. + replace: jakarta.annotation.sql. + - org.openrewrite.text.FindAndReplace: + find: javax.faces.annotation. + replace: jakarta.faces.annotation. + - org.openrewrite.text.FindAndReplace: + find: javax.validation.groups. + replace: jakarta.validation.groups. + - org.openrewrite.text.FindAndReplace: + find: javax.jws.soap. + replace: jakarta.jws.soap. + - org.openrewrite.text.FindAndReplace: + find: javax.ejb. + replace: jakarta.ejb. + - org.openrewrite.text.FindAndReplace: + find: javax.security.enterprise.identitystore. + replace: jakarta.security.enterprise.identitystore. + - org.openrewrite.text.FindAndReplace: + find: javax.validation. + replace: jakarta.validation. +--- +type: specs.openrewrite.org/v1beta/recipe +name: io.quarkus.updates.core.quarkus30.JavaxToJakartaDocumentationMd +applicability: + singleSource: + - org.openrewrite.FindSourceFiles: + filePattern: "**/*.md" +recipeList: + - org.openrewrite.text.FindAndReplace: + find: javax.json.bind.config. + replace: jakarta.json.bind.config. + - org.openrewrite.text.FindAndReplace: + find: javax.xml.soap. + replace: jakarta.xml.soap. + - org.openrewrite.text.FindAndReplace: + find: javax.security.jacc. + replace: jakarta.security.jacc. + - org.openrewrite.text.FindAndReplace: + find: javax.mail.internet. + replace: jakarta.mail.internet. + - org.openrewrite.text.FindAndReplace: + find: javax.batch.api.chunk. + replace: jakarta.batch.api.chunk. + - org.openrewrite.text.FindAndReplace: + find: javax.json.spi. + replace: jakarta.json.spi. + - org.openrewrite.text.FindAndReplace: + find: javax.resource. + replace: jakarta.resource. + - org.openrewrite.text.FindAndReplace: + find: javax.resource.spi.work. + replace: jakarta.resource.spi.work. + - org.openrewrite.text.FindAndReplace: + find: javax.xml.bind.annotation.adapters. + replace: jakarta.xml.bind.annotation.adapters. + - org.openrewrite.text.FindAndReplace: + find: javax.faces.webapp. + replace: jakarta.faces.webapp. + - org.openrewrite.text.FindAndReplace: + find: javax.faces.application. + replace: jakarta.faces.application. + - org.openrewrite.text.FindAndReplace: + find: javax.xml.bind.util. + replace: jakarta.xml.bind.util. + - org.openrewrite.text.FindAndReplace: + find: javax.persistence.criteria. + replace: jakarta.persistence.criteria. + - org.openrewrite.text.FindAndReplace: + find: javax.faces.event. + replace: jakarta.faces.event. + - org.openrewrite.text.FindAndReplace: + find: javax.activation. + replace: jakarta.activation. + - org.openrewrite.text.FindAndReplace: + find: javax.faces.flow.builder. + replace: jakarta.faces.flow.builder. + - org.openrewrite.text.FindAndReplace: + find: javax.websocket. + replace: jakarta.websocket. + - org.openrewrite.text.FindAndReplace: + find: javax.json.bind.serializer. + replace: jakarta.json.bind.serializer. + - org.openrewrite.text.FindAndReplace: + find: javax.enterprise.inject.se. + replace: jakarta.enterprise.inject.se. + - org.openrewrite.text.FindAndReplace: + find: javax.resource.cci. + replace: jakarta.resource.cci. + - org.openrewrite.text.FindAndReplace: + find: javax.validation.spi. + replace: jakarta.validation.spi. + - org.openrewrite.text.FindAndReplace: + find: javax.transaction. + replace: jakarta.transaction. + - org.openrewrite.text.FindAndReplace: + find: javax.xml.bind.attachment. + replace: jakarta.xml.bind.attachment. + - org.openrewrite.text.FindAndReplace: + find: javax.interceptor. + replace: jakarta.interceptor. + - org.openrewrite.text.FindAndReplace: + find: javax.xml.bind.helpers. + replace: jakarta.xml.bind.helpers. + - org.openrewrite.text.FindAndReplace: + find: javax.ejb.embeddable. + replace: jakarta.ejb.embeddable. + - org.openrewrite.text.FindAndReplace: + find: javax.persistence. + replace: jakarta.persistence. + - org.openrewrite.text.FindAndReplace: + find: javax.enterprise.inject. + replace: jakarta.enterprise.inject. + - org.openrewrite.text.FindAndReplace: + find: javax.mail.event. + replace: jakarta.mail.event. + - org.openrewrite.text.FindAndReplace: + find: javax.resource.spi.endpoint. + replace: jakarta.resource.spi.endpoint. + - org.openrewrite.text.FindAndReplace: + find: javax.faces.component.visit. + replace: jakarta.faces.component.visit. + - org.openrewrite.text.FindAndReplace: + find: javax.servlet.jsp.jstl. + replace: jakarta.servlet.jsp.jstl. + - org.openrewrite.text.FindAndReplace: + find: javax.servlet.jsp.el. + replace: jakarta.servlet.jsp.el. + - org.openrewrite.text.FindAndReplace: + find: javax.faces.el. + replace: jakarta.faces.el. + - org.openrewrite.text.FindAndReplace: + find: javax.xml.bind. + replace: jakarta.xml.bind. + - org.openrewrite.text.FindAndReplace: + find: javax.json.bind.adapter. + replace: jakarta.json.bind.adapter. + - org.openrewrite.text.FindAndReplace: + find: javax.validation.valueextraction. + replace: jakarta.validation.valueextraction. + - org.openrewrite.text.FindAndReplace: + find: javax.faces.view.facelets. + replace: jakarta.faces.view.facelets. + - org.openrewrite.text.FindAndReplace: + find: javax.faces.flow. + replace: jakarta.faces.flow. + - org.openrewrite.text.FindAndReplace: + find: javax.faces.render. + replace: jakarta.faces.render. + - org.openrewrite.text.FindAndReplace: + find: javax.mail.util. + replace: jakarta.mail.util. + - org.openrewrite.text.FindAndReplace: + find: javax.batch.runtime.context. + replace: jakarta.batch.runtime.context. + - org.openrewrite.text.FindAndReplace: + find: javax.annotation.security. + replace: jakarta.annotation.security. + - org.openrewrite.text.FindAndReplace: + find: javax.faces.component. + replace: jakarta.faces.component. + - org.openrewrite.text.FindAndReplace: + find: javax.servlet.jsp.jstl.fmt. + replace: jakarta.servlet.jsp.jstl.fmt. + - org.openrewrite.text.FindAndReplace: + find: javax.json.bind.spi. + replace: jakarta.json.bind.spi. + - org.openrewrite.text.FindAndReplace: + find: javax.servlet. + replace: jakarta.servlet. + - org.openrewrite.text.FindAndReplace: + find: javax.batch.operations. + replace: jakarta.batch.operations. + - org.openrewrite.text.FindAndReplace: + find: javax.faces.push. + replace: jakarta.faces.push. + - org.openrewrite.text.FindAndReplace: + find: javax.servlet.descriptor. + replace: jakarta.servlet.descriptor. + - org.openrewrite.text.FindAndReplace: + find: javax.xml.ws.handler.soap. + replace: jakarta.xml.ws.handler.soap. + - org.openrewrite.text.FindAndReplace: + find: javax.validation.executable. + replace: jakarta.validation.executable. + - org.openrewrite.text.FindAndReplace: + find: javax.faces.component.behavior. + replace: jakarta.faces.component.behavior. + - org.openrewrite.text.FindAndReplace: + find: javax.xml.bind.annotation. + replace: jakarta.xml.bind.annotation. + - org.openrewrite.text.FindAndReplace: + find: javax.batch.runtime. + replace: jakarta.batch.runtime. + - org.openrewrite.text.FindAndReplace: + find: javax.json.stream. + replace: jakarta.json.stream. + - org.openrewrite.text.FindAndReplace: + find: javax.servlet.annotation. + replace: jakarta.servlet.annotation. + - org.openrewrite.text.FindAndReplace: + find: javax.servlet.resources. + replace: jakarta.servlet.resources. + - org.openrewrite.text.FindAndReplace: + find: javax.servlet.http. + replace: jakarta.servlet.http. + - org.openrewrite.text.FindAndReplace: + find: javax.xml.ws.spi.http. + replace: jakarta.xml.ws.spi.http. + - org.openrewrite.text.FindAndReplace: + find: javax.ws.rs.container. + replace: jakarta.ws.rs.container. + - org.openrewrite.text.FindAndReplace: + find: javax.xml.ws. + replace: jakarta.xml.ws. + - org.openrewrite.text.FindAndReplace: + find: javax.enterprise.context.spi. + replace: jakarta.enterprise.context.spi. + - org.openrewrite.text.FindAndReplace: + find: javax.resource.spi. + replace: jakarta.resource.spi. + - org.openrewrite.text.FindAndReplace: + find: javax.faces.validator. + replace: jakarta.faces.validator. + - org.openrewrite.text.FindAndReplace: + find: javax.jws. + replace: jakarta.jws. + - org.openrewrite.text.FindAndReplace: + find: javax.annotation. + replace: jakarta.annotation. + - org.openrewrite.text.FindAndReplace: + find: javax.faces.component.search. + replace: jakarta.faces.component.search. + - org.openrewrite.text.FindAndReplace: + find: javax.json.bind. + replace: jakarta.json.bind. + - org.openrewrite.text.FindAndReplace: + find: javax.servlet.jsp.jstl.tlv. + replace: jakarta.servlet.jsp.jstl.tlv. + - org.openrewrite.text.FindAndReplace: + find: javax.servlet.jsp.jstl.core. + replace: jakarta.servlet.jsp.jstl.core. + - org.openrewrite.text.FindAndReplace: + find: javax.decorator. + replace: jakarta.decorator. + - org.openrewrite.text.FindAndReplace: + find: javax.faces.bean. + replace: jakarta.faces.bean. + - org.openrewrite.text.FindAndReplace: + find: javax.ws.rs.sse. + replace: jakarta.ws.rs.sse. + - org.openrewrite.text.FindAndReplace: + find: javax.persistence.metamodel. + replace: jakarta.persistence.metamodel. + - org.openrewrite.text.FindAndReplace: + find: javax.enterprise.context. + replace: jakarta.enterprise.context. + - org.openrewrite.text.FindAndReplace: + find: javax.xml.ws.spi. + replace: jakarta.xml.ws.spi. + - org.openrewrite.text.FindAndReplace: + find: javax.batch.api. + replace: jakarta.batch.api. + - org.openrewrite.text.FindAndReplace: + find: javax.el. + replace: jakarta.el. + - org.openrewrite.text.FindAndReplace: + find: javax.json. + replace: jakarta.json. + - org.openrewrite.text.FindAndReplace: + find: javax.batch.api.chunk.listener. + replace: jakarta.batch.api.chunk.listener. + - org.openrewrite.text.FindAndReplace: + find: javax.persistence.spi. + replace: jakarta.persistence.spi. + - org.openrewrite.text.FindAndReplace: + find: javax.xml.ws.handler. + replace: jakarta.xml.ws.handler. + - org.openrewrite.text.FindAndReplace: + find: javax.servlet.jsp.jstl.sql. + replace: jakarta.servlet.jsp.jstl.sql. + - org.openrewrite.text.FindAndReplace: + find: javax.enterprise.inject.literal. + replace: jakarta.enterprise.inject.literal. + - org.openrewrite.text.FindAndReplace: + find: javax.ws.rs.ext. + replace: jakarta.ws.rs.ext. + - org.openrewrite.text.FindAndReplace: + find: javax.validation.constraints. + replace: jakarta.validation.constraints. + - org.openrewrite.text.FindAndReplace: + find: javax.servlet.jsp.resources. + replace: jakarta.servlet.jsp.resources. + - org.openrewrite.text.FindAndReplace: + find: javax.validation.constraintvalidation. + replace: jakarta.validation.constraintvalidation. + - org.openrewrite.text.FindAndReplace: + find: javax.faces.lifecycle. + replace: jakarta.faces.lifecycle. + - org.openrewrite.text.FindAndReplace: + find: javax.security.auth.message.callback. + replace: jakarta.security.auth.message.callback. + - org.openrewrite.text.FindAndReplace: + find: javax.ws.rs. + replace: jakarta.ws.rs. + - org.openrewrite.text.FindAndReplace: + find: javax.security.auth.message.config. + replace: jakarta.security.auth.message.config. + - org.openrewrite.text.FindAndReplace: + find: javax.websocket.server. + replace: jakarta.websocket.server. + - org.openrewrite.text.FindAndReplace: + find: javax.security.enterprise.authentication.mechanism.http. + replace: jakarta.security.enterprise.authentication.mechanism.http. + - org.openrewrite.text.FindAndReplace: + find: javax.enterprise.event. + replace: jakarta.enterprise.event. + - org.openrewrite.text.FindAndReplace: + find: javax.inject. + replace: jakarta.inject. + - org.openrewrite.text.FindAndReplace: + find: javax.batch.api.listener. + replace: jakarta.batch.api.listener. + - org.openrewrite.text.FindAndReplace: + find: javax.xml.ws.http. + replace: jakarta.xml.ws.http. + - org.openrewrite.text.FindAndReplace: + find: javax.xml.ws.soap. + replace: jakarta.xml.ws.soap. + - org.openrewrite.text.FindAndReplace: + find: javax.enterprise.inject.spi. + replace: jakarta.enterprise.inject.spi. + - org.openrewrite.text.FindAndReplace: + find: javax.faces. + replace: jakarta.faces. + - org.openrewrite.text.FindAndReplace: + find: javax.jms. + replace: jakarta.jms. + - org.openrewrite.text.FindAndReplace: + find: javax.xml.ws.wsaddressing. + replace: jakarta.xml.ws.wsaddressing. + - org.openrewrite.text.FindAndReplace: + find: javax.validation.bootstrap. + replace: jakarta.validation.bootstrap. + - org.openrewrite.text.FindAndReplace: + find: javax.ejb.spi. + replace: jakarta.ejb.spi. + - org.openrewrite.text.FindAndReplace: + find: javax.validation.metadata. + replace: jakarta.validation.metadata. + - org.openrewrite.text.FindAndReplace: + find: javax.servlet.jsp. + replace: jakarta.servlet.jsp. + - org.openrewrite.text.FindAndReplace: + find: javax.faces.convert. + replace: jakarta.faces.convert. + - org.openrewrite.text.FindAndReplace: + find: javax.mail. + replace: jakarta.mail. + - org.openrewrite.text.FindAndReplace: + find: javax.enterprise.concurrent. + replace: jakarta.enterprise.concurrent. + - org.openrewrite.text.FindAndReplace: + find: javax.batch.api.partition. + replace: jakarta.batch.api.partition. + - org.openrewrite.text.FindAndReplace: + find: javax.faces.component.html. + replace: jakarta.faces.component.html. + - org.openrewrite.text.FindAndReplace: + find: javax.enterprise.inject.spi.configurator. + replace: jakarta.enterprise.inject.spi.configurator. + - org.openrewrite.text.FindAndReplace: + find: javax.security.enterprise.credential. + replace: jakarta.security.enterprise.credential. + - org.openrewrite.text.FindAndReplace: + find: javax.enterprise.context.control. + replace: jakarta.enterprise.context.control. + - org.openrewrite.text.FindAndReplace: + find: javax.json.bind.annotation. + replace: jakarta.json.bind.annotation. + - org.openrewrite.text.FindAndReplace: + find: javax.mail.search. + replace: jakarta.mail.search. + - org.openrewrite.text.FindAndReplace: + find: javax.enterprise.util. + replace: jakarta.enterprise.util. + - org.openrewrite.text.FindAndReplace: + find: javax.ws.rs.client. + replace: jakarta.ws.rs.client. + - org.openrewrite.text.FindAndReplace: + find: javax.faces.model. + replace: jakarta.faces.model. + - org.openrewrite.text.FindAndReplace: + find: javax.resource.spi.security. + replace: jakarta.resource.spi.security. + - org.openrewrite.text.FindAndReplace: + find: javax.faces.view. + replace: jakarta.faces.view. + - org.openrewrite.text.FindAndReplace: + find: javax.security.enterprise. + replace: jakarta.security.enterprise. + - org.openrewrite.text.FindAndReplace: + find: javax.servlet.jsp.tagext. + replace: jakarta.servlet.jsp.tagext. + - org.openrewrite.text.FindAndReplace: + find: javax.ws.rs.core. + replace: jakarta.ws.rs.core. + - org.openrewrite.text.FindAndReplace: + find: javax.security.auth.message.module. + replace: jakarta.security.auth.message.module. + - org.openrewrite.text.FindAndReplace: + find: javax.faces.context. + replace: jakarta.faces.context. + - org.openrewrite.text.FindAndReplace: + find: javax.security.auth.message. + replace: jakarta.security.auth.message. + - org.openrewrite.text.FindAndReplace: + find: javax.annotation.sql. + replace: jakarta.annotation.sql. + - org.openrewrite.text.FindAndReplace: + find: javax.faces.annotation. + replace: jakarta.faces.annotation. + - org.openrewrite.text.FindAndReplace: + find: javax.validation.groups. + replace: jakarta.validation.groups. + - org.openrewrite.text.FindAndReplace: + find: javax.jws.soap. + replace: jakarta.jws.soap. + - org.openrewrite.text.FindAndReplace: + find: javax.ejb. + replace: jakarta.ejb. + - org.openrewrite.text.FindAndReplace: + find: javax.security.enterprise.identitystore. + replace: jakarta.security.enterprise.identitystore. + - org.openrewrite.text.FindAndReplace: + find: javax.validation. + replace: jakarta.validation. +--- +type: specs.openrewrite.org/v1beta/recipe +name: io.quarkus.updates.core.quarkus30.JavaxToJakartaCodestarts +applicability: + singleSource: + - org.openrewrite.FindSourceFiles: + filePattern: "**/src/main/codestarts/**/*.java" +recipeList: + - org.openrewrite.text.FindAndReplace: + find: javax.json.bind.config. + replace: jakarta.json.bind.config. + - org.openrewrite.text.FindAndReplace: + find: javax.xml.soap. + replace: jakarta.xml.soap. + - org.openrewrite.text.FindAndReplace: + find: javax.security.jacc. + replace: jakarta.security.jacc. + - org.openrewrite.text.FindAndReplace: + find: javax.mail.internet. + replace: jakarta.mail.internet. + - org.openrewrite.text.FindAndReplace: + find: javax.batch.api.chunk. + replace: jakarta.batch.api.chunk. + - org.openrewrite.text.FindAndReplace: + find: javax.json.spi. + replace: jakarta.json.spi. + - org.openrewrite.text.FindAndReplace: + find: javax.resource. + replace: jakarta.resource. + - org.openrewrite.text.FindAndReplace: + find: javax.resource.spi.work. + replace: jakarta.resource.spi.work. + - org.openrewrite.text.FindAndReplace: + find: javax.xml.bind.annotation.adapters. + replace: jakarta.xml.bind.annotation.adapters. + - org.openrewrite.text.FindAndReplace: + find: javax.faces.webapp. + replace: jakarta.faces.webapp. + - org.openrewrite.text.FindAndReplace: + find: javax.faces.application. + replace: jakarta.faces.application. + - org.openrewrite.text.FindAndReplace: + find: javax.xml.bind.util. + replace: jakarta.xml.bind.util. + - org.openrewrite.text.FindAndReplace: + find: javax.persistence.criteria. + replace: jakarta.persistence.criteria. + - org.openrewrite.text.FindAndReplace: + find: javax.faces.event. + replace: jakarta.faces.event. + - org.openrewrite.text.FindAndReplace: + find: javax.activation. + replace: jakarta.activation. + - org.openrewrite.text.FindAndReplace: + find: javax.faces.flow.builder. + replace: jakarta.faces.flow.builder. + - org.openrewrite.text.FindAndReplace: + find: javax.websocket. + replace: jakarta.websocket. + - org.openrewrite.text.FindAndReplace: + find: javax.json.bind.serializer. + replace: jakarta.json.bind.serializer. + - org.openrewrite.text.FindAndReplace: + find: javax.enterprise.inject.se. + replace: jakarta.enterprise.inject.se. + - org.openrewrite.text.FindAndReplace: + find: javax.resource.cci. + replace: jakarta.resource.cci. + - org.openrewrite.text.FindAndReplace: + find: javax.validation.spi. + replace: jakarta.validation.spi. + - org.openrewrite.text.FindAndReplace: + find: javax.transaction. + replace: jakarta.transaction. + - org.openrewrite.text.FindAndReplace: + find: javax.xml.bind.attachment. + replace: jakarta.xml.bind.attachment. + - org.openrewrite.text.FindAndReplace: + find: javax.interceptor. + replace: jakarta.interceptor. + - org.openrewrite.text.FindAndReplace: + find: javax.xml.bind.helpers. + replace: jakarta.xml.bind.helpers. + - org.openrewrite.text.FindAndReplace: + find: javax.ejb.embeddable. + replace: jakarta.ejb.embeddable. + - org.openrewrite.text.FindAndReplace: + find: javax.persistence. + replace: jakarta.persistence. + - org.openrewrite.text.FindAndReplace: + find: javax.enterprise.inject. + replace: jakarta.enterprise.inject. + - org.openrewrite.text.FindAndReplace: + find: javax.mail.event. + replace: jakarta.mail.event. + - org.openrewrite.text.FindAndReplace: + find: javax.resource.spi.endpoint. + replace: jakarta.resource.spi.endpoint. + - org.openrewrite.text.FindAndReplace: + find: javax.faces.component.visit. + replace: jakarta.faces.component.visit. + - org.openrewrite.text.FindAndReplace: + find: javax.servlet.jsp.jstl. + replace: jakarta.servlet.jsp.jstl. + - org.openrewrite.text.FindAndReplace: + find: javax.servlet.jsp.el. + replace: jakarta.servlet.jsp.el. + - org.openrewrite.text.FindAndReplace: + find: javax.faces.el. + replace: jakarta.faces.el. + - org.openrewrite.text.FindAndReplace: + find: javax.xml.bind. + replace: jakarta.xml.bind. + - org.openrewrite.text.FindAndReplace: + find: javax.json.bind.adapter. + replace: jakarta.json.bind.adapter. + - org.openrewrite.text.FindAndReplace: + find: javax.validation.valueextraction. + replace: jakarta.validation.valueextraction. + - org.openrewrite.text.FindAndReplace: + find: javax.faces.view.facelets. + replace: jakarta.faces.view.facelets. + - org.openrewrite.text.FindAndReplace: + find: javax.faces.flow. + replace: jakarta.faces.flow. + - org.openrewrite.text.FindAndReplace: + find: javax.faces.render. + replace: jakarta.faces.render. + - org.openrewrite.text.FindAndReplace: + find: javax.mail.util. + replace: jakarta.mail.util. + - org.openrewrite.text.FindAndReplace: + find: javax.batch.runtime.context. + replace: jakarta.batch.runtime.context. + - org.openrewrite.text.FindAndReplace: + find: javax.annotation.security. + replace: jakarta.annotation.security. + - org.openrewrite.text.FindAndReplace: + find: javax.faces.component. + replace: jakarta.faces.component. + - org.openrewrite.text.FindAndReplace: + find: javax.servlet.jsp.jstl.fmt. + replace: jakarta.servlet.jsp.jstl.fmt. + - org.openrewrite.text.FindAndReplace: + find: javax.json.bind.spi. + replace: jakarta.json.bind.spi. + - org.openrewrite.text.FindAndReplace: + find: javax.servlet. + replace: jakarta.servlet. + - org.openrewrite.text.FindAndReplace: + find: javax.batch.operations. + replace: jakarta.batch.operations. + - org.openrewrite.text.FindAndReplace: + find: javax.faces.push. + replace: jakarta.faces.push. + - org.openrewrite.text.FindAndReplace: + find: javax.servlet.descriptor. + replace: jakarta.servlet.descriptor. + - org.openrewrite.text.FindAndReplace: + find: javax.xml.ws.handler.soap. + replace: jakarta.xml.ws.handler.soap. + - org.openrewrite.text.FindAndReplace: + find: javax.validation.executable. + replace: jakarta.validation.executable. + - org.openrewrite.text.FindAndReplace: + find: javax.faces.component.behavior. + replace: jakarta.faces.component.behavior. + - org.openrewrite.text.FindAndReplace: + find: javax.xml.bind.annotation. + replace: jakarta.xml.bind.annotation. + - org.openrewrite.text.FindAndReplace: + find: javax.batch.runtime. + replace: jakarta.batch.runtime. + - org.openrewrite.text.FindAndReplace: + find: javax.json.stream. + replace: jakarta.json.stream. + - org.openrewrite.text.FindAndReplace: + find: javax.servlet.annotation. + replace: jakarta.servlet.annotation. + - org.openrewrite.text.FindAndReplace: + find: javax.servlet.resources. + replace: jakarta.servlet.resources. + - org.openrewrite.text.FindAndReplace: + find: javax.servlet.http. + replace: jakarta.servlet.http. + - org.openrewrite.text.FindAndReplace: + find: javax.xml.ws.spi.http. + replace: jakarta.xml.ws.spi.http. + - org.openrewrite.text.FindAndReplace: + find: javax.ws.rs.container. + replace: jakarta.ws.rs.container. + - org.openrewrite.text.FindAndReplace: + find: javax.xml.ws. + replace: jakarta.xml.ws. + - org.openrewrite.text.FindAndReplace: + find: javax.enterprise.context.spi. + replace: jakarta.enterprise.context.spi. + - org.openrewrite.text.FindAndReplace: + find: javax.resource.spi. + replace: jakarta.resource.spi. + - org.openrewrite.text.FindAndReplace: + find: javax.faces.validator. + replace: jakarta.faces.validator. + - org.openrewrite.text.FindAndReplace: + find: javax.jws. + replace: jakarta.jws. + - org.openrewrite.text.FindAndReplace: + find: javax.annotation. + replace: jakarta.annotation. + - org.openrewrite.text.FindAndReplace: + find: javax.faces.component.search. + replace: jakarta.faces.component.search. + - org.openrewrite.text.FindAndReplace: + find: javax.json.bind. + replace: jakarta.json.bind. + - org.openrewrite.text.FindAndReplace: + find: javax.servlet.jsp.jstl.tlv. + replace: jakarta.servlet.jsp.jstl.tlv. + - org.openrewrite.text.FindAndReplace: + find: javax.servlet.jsp.jstl.core. + replace: jakarta.servlet.jsp.jstl.core. + - org.openrewrite.text.FindAndReplace: + find: javax.decorator. + replace: jakarta.decorator. + - org.openrewrite.text.FindAndReplace: + find: javax.faces.bean. + replace: jakarta.faces.bean. + - org.openrewrite.text.FindAndReplace: + find: javax.ws.rs.sse. + replace: jakarta.ws.rs.sse. + - org.openrewrite.text.FindAndReplace: + find: javax.persistence.metamodel. + replace: jakarta.persistence.metamodel. + - org.openrewrite.text.FindAndReplace: + find: javax.enterprise.context. + replace: jakarta.enterprise.context. + - org.openrewrite.text.FindAndReplace: + find: javax.xml.ws.spi. + replace: jakarta.xml.ws.spi. + - org.openrewrite.text.FindAndReplace: + find: javax.batch.api. + replace: jakarta.batch.api. + - org.openrewrite.text.FindAndReplace: + find: javax.el. + replace: jakarta.el. + - org.openrewrite.text.FindAndReplace: + find: javax.json. + replace: jakarta.json. + - org.openrewrite.text.FindAndReplace: + find: javax.batch.api.chunk.listener. + replace: jakarta.batch.api.chunk.listener. + - org.openrewrite.text.FindAndReplace: + find: javax.persistence.spi. + replace: jakarta.persistence.spi. + - org.openrewrite.text.FindAndReplace: + find: javax.xml.ws.handler. + replace: jakarta.xml.ws.handler. + - org.openrewrite.text.FindAndReplace: + find: javax.servlet.jsp.jstl.sql. + replace: jakarta.servlet.jsp.jstl.sql. + - org.openrewrite.text.FindAndReplace: + find: javax.enterprise.inject.literal. + replace: jakarta.enterprise.inject.literal. + - org.openrewrite.text.FindAndReplace: + find: javax.ws.rs.ext. + replace: jakarta.ws.rs.ext. + - org.openrewrite.text.FindAndReplace: + find: javax.validation.constraints. + replace: jakarta.validation.constraints. + - org.openrewrite.text.FindAndReplace: + find: javax.servlet.jsp.resources. + replace: jakarta.servlet.jsp.resources. + - org.openrewrite.text.FindAndReplace: + find: javax.validation.constraintvalidation. + replace: jakarta.validation.constraintvalidation. + - org.openrewrite.text.FindAndReplace: + find: javax.faces.lifecycle. + replace: jakarta.faces.lifecycle. + - org.openrewrite.text.FindAndReplace: + find: javax.security.auth.message.callback. + replace: jakarta.security.auth.message.callback. + - org.openrewrite.text.FindAndReplace: + find: javax.ws.rs. + replace: jakarta.ws.rs. + - org.openrewrite.text.FindAndReplace: + find: javax.security.auth.message.config. + replace: jakarta.security.auth.message.config. + - org.openrewrite.text.FindAndReplace: + find: javax.websocket.server. + replace: jakarta.websocket.server. + - org.openrewrite.text.FindAndReplace: + find: javax.security.enterprise.authentication.mechanism.http. + replace: jakarta.security.enterprise.authentication.mechanism.http. + - org.openrewrite.text.FindAndReplace: + find: javax.enterprise.event. + replace: jakarta.enterprise.event. + - org.openrewrite.text.FindAndReplace: + find: javax.inject. + replace: jakarta.inject. + - org.openrewrite.text.FindAndReplace: + find: javax.batch.api.listener. + replace: jakarta.batch.api.listener. + - org.openrewrite.text.FindAndReplace: + find: javax.xml.ws.http. + replace: jakarta.xml.ws.http. + - org.openrewrite.text.FindAndReplace: + find: javax.xml.ws.soap. + replace: jakarta.xml.ws.soap. + - org.openrewrite.text.FindAndReplace: + find: javax.enterprise.inject.spi. + replace: jakarta.enterprise.inject.spi. + - org.openrewrite.text.FindAndReplace: + find: javax.faces. + replace: jakarta.faces. + - org.openrewrite.text.FindAndReplace: + find: javax.jms. + replace: jakarta.jms. + - org.openrewrite.text.FindAndReplace: + find: javax.xml.ws.wsaddressing. + replace: jakarta.xml.ws.wsaddressing. + - org.openrewrite.text.FindAndReplace: + find: javax.validation.bootstrap. + replace: jakarta.validation.bootstrap. + - org.openrewrite.text.FindAndReplace: + find: javax.ejb.spi. + replace: jakarta.ejb.spi. + - org.openrewrite.text.FindAndReplace: + find: javax.validation.metadata. + replace: jakarta.validation.metadata. + - org.openrewrite.text.FindAndReplace: + find: javax.servlet.jsp. + replace: jakarta.servlet.jsp. + - org.openrewrite.text.FindAndReplace: + find: javax.faces.convert. + replace: jakarta.faces.convert. + - org.openrewrite.text.FindAndReplace: + find: javax.mail. + replace: jakarta.mail. + - org.openrewrite.text.FindAndReplace: + find: javax.enterprise.concurrent. + replace: jakarta.enterprise.concurrent. + - org.openrewrite.text.FindAndReplace: + find: javax.batch.api.partition. + replace: jakarta.batch.api.partition. + - org.openrewrite.text.FindAndReplace: + find: javax.faces.component.html. + replace: jakarta.faces.component.html. + - org.openrewrite.text.FindAndReplace: + find: javax.enterprise.inject.spi.configurator. + replace: jakarta.enterprise.inject.spi.configurator. + - org.openrewrite.text.FindAndReplace: + find: javax.security.enterprise.credential. + replace: jakarta.security.enterprise.credential. + - org.openrewrite.text.FindAndReplace: + find: javax.enterprise.context.control. + replace: jakarta.enterprise.context.control. + - org.openrewrite.text.FindAndReplace: + find: javax.json.bind.annotation. + replace: jakarta.json.bind.annotation. + - org.openrewrite.text.FindAndReplace: + find: javax.mail.search. + replace: jakarta.mail.search. + - org.openrewrite.text.FindAndReplace: + find: javax.enterprise.util. + replace: jakarta.enterprise.util. + - org.openrewrite.text.FindAndReplace: + find: javax.ws.rs.client. + replace: jakarta.ws.rs.client. + - org.openrewrite.text.FindAndReplace: + find: javax.faces.model. + replace: jakarta.faces.model. + - org.openrewrite.text.FindAndReplace: + find: javax.resource.spi.security. + replace: jakarta.resource.spi.security. + - org.openrewrite.text.FindAndReplace: + find: javax.faces.view. + replace: jakarta.faces.view. + - org.openrewrite.text.FindAndReplace: + find: javax.security.enterprise. + replace: jakarta.security.enterprise. + - org.openrewrite.text.FindAndReplace: + find: javax.servlet.jsp.tagext. + replace: jakarta.servlet.jsp.tagext. + - org.openrewrite.text.FindAndReplace: + find: javax.ws.rs.core. + replace: jakarta.ws.rs.core. + - org.openrewrite.text.FindAndReplace: + find: javax.security.auth.message.module. + replace: jakarta.security.auth.message.module. + - org.openrewrite.text.FindAndReplace: + find: javax.faces.context. + replace: jakarta.faces.context. + - org.openrewrite.text.FindAndReplace: + find: javax.security.auth.message. + replace: jakarta.security.auth.message. + - org.openrewrite.text.FindAndReplace: + find: javax.annotation.sql. + replace: jakarta.annotation.sql. + - org.openrewrite.text.FindAndReplace: + find: javax.faces.annotation. + replace: jakarta.faces.annotation. + - org.openrewrite.text.FindAndReplace: + find: javax.validation.groups. + replace: jakarta.validation.groups. + - org.openrewrite.text.FindAndReplace: + find: javax.jws.soap. + replace: jakarta.jws.soap. + - org.openrewrite.text.FindAndReplace: + find: javax.ejb. + replace: jakarta.ejb. + - org.openrewrite.text.FindAndReplace: + find: javax.security.enterprise.identitystore. + replace: jakarta.security.enterprise.identitystore. + - org.openrewrite.text.FindAndReplace: + find: javax.validation. + replace: jakarta.validation. +--- +type: specs.openrewrite.org/v1beta/recipe +name: io.quarkus.updates.core.quarkus30.JavaxToJakartaCodestartsTests +applicability: + singleSource: + - org.openrewrite.FindSourceFiles: + filePattern: "**/src/test/resources/__snapshots__/**/*.java" +recipeList: + - org.openrewrite.text.FindAndReplace: + find: javax.json.bind.config. + replace: jakarta.json.bind.config. + - org.openrewrite.text.FindAndReplace: + find: javax.xml.soap. + replace: jakarta.xml.soap. + - org.openrewrite.text.FindAndReplace: + find: javax.security.jacc. + replace: jakarta.security.jacc. + - org.openrewrite.text.FindAndReplace: + find: javax.mail.internet. + replace: jakarta.mail.internet. + - org.openrewrite.text.FindAndReplace: + find: javax.batch.api.chunk. + replace: jakarta.batch.api.chunk. + - org.openrewrite.text.FindAndReplace: + find: javax.json.spi. + replace: jakarta.json.spi. + - org.openrewrite.text.FindAndReplace: + find: javax.resource. + replace: jakarta.resource. + - org.openrewrite.text.FindAndReplace: + find: javax.resource.spi.work. + replace: jakarta.resource.spi.work. + - org.openrewrite.text.FindAndReplace: + find: javax.xml.bind.annotation.adapters. + replace: jakarta.xml.bind.annotation.adapters. + - org.openrewrite.text.FindAndReplace: + find: javax.faces.webapp. + replace: jakarta.faces.webapp. + - org.openrewrite.text.FindAndReplace: + find: javax.faces.application. + replace: jakarta.faces.application. + - org.openrewrite.text.FindAndReplace: + find: javax.xml.bind.util. + replace: jakarta.xml.bind.util. + - org.openrewrite.text.FindAndReplace: + find: javax.persistence.criteria. + replace: jakarta.persistence.criteria. + - org.openrewrite.text.FindAndReplace: + find: javax.faces.event. + replace: jakarta.faces.event. + - org.openrewrite.text.FindAndReplace: + find: javax.activation. + replace: jakarta.activation. + - org.openrewrite.text.FindAndReplace: + find: javax.faces.flow.builder. + replace: jakarta.faces.flow.builder. + - org.openrewrite.text.FindAndReplace: + find: javax.websocket. + replace: jakarta.websocket. + - org.openrewrite.text.FindAndReplace: + find: javax.json.bind.serializer. + replace: jakarta.json.bind.serializer. + - org.openrewrite.text.FindAndReplace: + find: javax.enterprise.inject.se. + replace: jakarta.enterprise.inject.se. + - org.openrewrite.text.FindAndReplace: + find: javax.resource.cci. + replace: jakarta.resource.cci. + - org.openrewrite.text.FindAndReplace: + find: javax.validation.spi. + replace: jakarta.validation.spi. + - org.openrewrite.text.FindAndReplace: + find: javax.transaction. + replace: jakarta.transaction. + - org.openrewrite.text.FindAndReplace: + find: javax.xml.bind.attachment. + replace: jakarta.xml.bind.attachment. + - org.openrewrite.text.FindAndReplace: + find: javax.interceptor. + replace: jakarta.interceptor. + - org.openrewrite.text.FindAndReplace: + find: javax.xml.bind.helpers. + replace: jakarta.xml.bind.helpers. + - org.openrewrite.text.FindAndReplace: + find: javax.ejb.embeddable. + replace: jakarta.ejb.embeddable. + - org.openrewrite.text.FindAndReplace: + find: javax.persistence. + replace: jakarta.persistence. + - org.openrewrite.text.FindAndReplace: + find: javax.enterprise.inject. + replace: jakarta.enterprise.inject. + - org.openrewrite.text.FindAndReplace: + find: javax.mail.event. + replace: jakarta.mail.event. + - org.openrewrite.text.FindAndReplace: + find: javax.resource.spi.endpoint. + replace: jakarta.resource.spi.endpoint. + - org.openrewrite.text.FindAndReplace: + find: javax.faces.component.visit. + replace: jakarta.faces.component.visit. + - org.openrewrite.text.FindAndReplace: + find: javax.servlet.jsp.jstl. + replace: jakarta.servlet.jsp.jstl. + - org.openrewrite.text.FindAndReplace: + find: javax.servlet.jsp.el. + replace: jakarta.servlet.jsp.el. + - org.openrewrite.text.FindAndReplace: + find: javax.faces.el. + replace: jakarta.faces.el. + - org.openrewrite.text.FindAndReplace: + find: javax.xml.bind. + replace: jakarta.xml.bind. + - org.openrewrite.text.FindAndReplace: + find: javax.json.bind.adapter. + replace: jakarta.json.bind.adapter. + - org.openrewrite.text.FindAndReplace: + find: javax.validation.valueextraction. + replace: jakarta.validation.valueextraction. + - org.openrewrite.text.FindAndReplace: + find: javax.faces.view.facelets. + replace: jakarta.faces.view.facelets. + - org.openrewrite.text.FindAndReplace: + find: javax.faces.flow. + replace: jakarta.faces.flow. + - org.openrewrite.text.FindAndReplace: + find: javax.faces.render. + replace: jakarta.faces.render. + - org.openrewrite.text.FindAndReplace: + find: javax.mail.util. + replace: jakarta.mail.util. + - org.openrewrite.text.FindAndReplace: + find: javax.batch.runtime.context. + replace: jakarta.batch.runtime.context. + - org.openrewrite.text.FindAndReplace: + find: javax.annotation.security. + replace: jakarta.annotation.security. + - org.openrewrite.text.FindAndReplace: + find: javax.faces.component. + replace: jakarta.faces.component. + - org.openrewrite.text.FindAndReplace: + find: javax.servlet.jsp.jstl.fmt. + replace: jakarta.servlet.jsp.jstl.fmt. + - org.openrewrite.text.FindAndReplace: + find: javax.json.bind.spi. + replace: jakarta.json.bind.spi. + - org.openrewrite.text.FindAndReplace: + find: javax.servlet. + replace: jakarta.servlet. + - org.openrewrite.text.FindAndReplace: + find: javax.batch.operations. + replace: jakarta.batch.operations. + - org.openrewrite.text.FindAndReplace: + find: javax.faces.push. + replace: jakarta.faces.push. + - org.openrewrite.text.FindAndReplace: + find: javax.servlet.descriptor. + replace: jakarta.servlet.descriptor. + - org.openrewrite.text.FindAndReplace: + find: javax.xml.ws.handler.soap. + replace: jakarta.xml.ws.handler.soap. + - org.openrewrite.text.FindAndReplace: + find: javax.validation.executable. + replace: jakarta.validation.executable. + - org.openrewrite.text.FindAndReplace: + find: javax.faces.component.behavior. + replace: jakarta.faces.component.behavior. + - org.openrewrite.text.FindAndReplace: + find: javax.xml.bind.annotation. + replace: jakarta.xml.bind.annotation. + - org.openrewrite.text.FindAndReplace: + find: javax.batch.runtime. + replace: jakarta.batch.runtime. + - org.openrewrite.text.FindAndReplace: + find: javax.json.stream. + replace: jakarta.json.stream. + - org.openrewrite.text.FindAndReplace: + find: javax.servlet.annotation. + replace: jakarta.servlet.annotation. + - org.openrewrite.text.FindAndReplace: + find: javax.servlet.resources. + replace: jakarta.servlet.resources. + - org.openrewrite.text.FindAndReplace: + find: javax.servlet.http. + replace: jakarta.servlet.http. + - org.openrewrite.text.FindAndReplace: + find: javax.xml.ws.spi.http. + replace: jakarta.xml.ws.spi.http. + - org.openrewrite.text.FindAndReplace: + find: javax.ws.rs.container. + replace: jakarta.ws.rs.container. + - org.openrewrite.text.FindAndReplace: + find: javax.xml.ws. + replace: jakarta.xml.ws. + - org.openrewrite.text.FindAndReplace: + find: javax.enterprise.context.spi. + replace: jakarta.enterprise.context.spi. + - org.openrewrite.text.FindAndReplace: + find: javax.resource.spi. + replace: jakarta.resource.spi. + - org.openrewrite.text.FindAndReplace: + find: javax.faces.validator. + replace: jakarta.faces.validator. + - org.openrewrite.text.FindAndReplace: + find: javax.jws. + replace: jakarta.jws. + - org.openrewrite.text.FindAndReplace: + find: javax.annotation. + replace: jakarta.annotation. + - org.openrewrite.text.FindAndReplace: + find: javax.faces.component.search. + replace: jakarta.faces.component.search. + - org.openrewrite.text.FindAndReplace: + find: javax.json.bind. + replace: jakarta.json.bind. + - org.openrewrite.text.FindAndReplace: + find: javax.servlet.jsp.jstl.tlv. + replace: jakarta.servlet.jsp.jstl.tlv. + - org.openrewrite.text.FindAndReplace: + find: javax.servlet.jsp.jstl.core. + replace: jakarta.servlet.jsp.jstl.core. + - org.openrewrite.text.FindAndReplace: + find: javax.decorator. + replace: jakarta.decorator. + - org.openrewrite.text.FindAndReplace: + find: javax.faces.bean. + replace: jakarta.faces.bean. + - org.openrewrite.text.FindAndReplace: + find: javax.ws.rs.sse. + replace: jakarta.ws.rs.sse. + - org.openrewrite.text.FindAndReplace: + find: javax.persistence.metamodel. + replace: jakarta.persistence.metamodel. + - org.openrewrite.text.FindAndReplace: + find: javax.enterprise.context. + replace: jakarta.enterprise.context. + - org.openrewrite.text.FindAndReplace: + find: javax.xml.ws.spi. + replace: jakarta.xml.ws.spi. + - org.openrewrite.text.FindAndReplace: + find: javax.batch.api. + replace: jakarta.batch.api. + - org.openrewrite.text.FindAndReplace: + find: javax.el. + replace: jakarta.el. + - org.openrewrite.text.FindAndReplace: + find: javax.json. + replace: jakarta.json. + - org.openrewrite.text.FindAndReplace: + find: javax.batch.api.chunk.listener. + replace: jakarta.batch.api.chunk.listener. + - org.openrewrite.text.FindAndReplace: + find: javax.persistence.spi. + replace: jakarta.persistence.spi. + - org.openrewrite.text.FindAndReplace: + find: javax.xml.ws.handler. + replace: jakarta.xml.ws.handler. + - org.openrewrite.text.FindAndReplace: + find: javax.servlet.jsp.jstl.sql. + replace: jakarta.servlet.jsp.jstl.sql. + - org.openrewrite.text.FindAndReplace: + find: javax.enterprise.inject.literal. + replace: jakarta.enterprise.inject.literal. + - org.openrewrite.text.FindAndReplace: + find: javax.ws.rs.ext. + replace: jakarta.ws.rs.ext. + - org.openrewrite.text.FindAndReplace: + find: javax.validation.constraints. + replace: jakarta.validation.constraints. + - org.openrewrite.text.FindAndReplace: + find: javax.servlet.jsp.resources. + replace: jakarta.servlet.jsp.resources. + - org.openrewrite.text.FindAndReplace: + find: javax.validation.constraintvalidation. + replace: jakarta.validation.constraintvalidation. + - org.openrewrite.text.FindAndReplace: + find: javax.faces.lifecycle. + replace: jakarta.faces.lifecycle. + - org.openrewrite.text.FindAndReplace: + find: javax.security.auth.message.callback. + replace: jakarta.security.auth.message.callback. + - org.openrewrite.text.FindAndReplace: + find: javax.ws.rs. + replace: jakarta.ws.rs. + - org.openrewrite.text.FindAndReplace: + find: javax.security.auth.message.config. + replace: jakarta.security.auth.message.config. + - org.openrewrite.text.FindAndReplace: + find: javax.websocket.server. + replace: jakarta.websocket.server. + - org.openrewrite.text.FindAndReplace: + find: javax.security.enterprise.authentication.mechanism.http. + replace: jakarta.security.enterprise.authentication.mechanism.http. + - org.openrewrite.text.FindAndReplace: + find: javax.enterprise.event. + replace: jakarta.enterprise.event. + - org.openrewrite.text.FindAndReplace: + find: javax.inject. + replace: jakarta.inject. + - org.openrewrite.text.FindAndReplace: + find: javax.batch.api.listener. + replace: jakarta.batch.api.listener. + - org.openrewrite.text.FindAndReplace: + find: javax.xml.ws.http. + replace: jakarta.xml.ws.http. + - org.openrewrite.text.FindAndReplace: + find: javax.xml.ws.soap. + replace: jakarta.xml.ws.soap. + - org.openrewrite.text.FindAndReplace: + find: javax.enterprise.inject.spi. + replace: jakarta.enterprise.inject.spi. + - org.openrewrite.text.FindAndReplace: + find: javax.faces. + replace: jakarta.faces. + - org.openrewrite.text.FindAndReplace: + find: javax.jms. + replace: jakarta.jms. + - org.openrewrite.text.FindAndReplace: + find: javax.xml.ws.wsaddressing. + replace: jakarta.xml.ws.wsaddressing. + - org.openrewrite.text.FindAndReplace: + find: javax.validation.bootstrap. + replace: jakarta.validation.bootstrap. + - org.openrewrite.text.FindAndReplace: + find: javax.ejb.spi. + replace: jakarta.ejb.spi. + - org.openrewrite.text.FindAndReplace: + find: javax.validation.metadata. + replace: jakarta.validation.metadata. + - org.openrewrite.text.FindAndReplace: + find: javax.servlet.jsp. + replace: jakarta.servlet.jsp. + - org.openrewrite.text.FindAndReplace: + find: javax.faces.convert. + replace: jakarta.faces.convert. + - org.openrewrite.text.FindAndReplace: + find: javax.mail. + replace: jakarta.mail. + - org.openrewrite.text.FindAndReplace: + find: javax.enterprise.concurrent. + replace: jakarta.enterprise.concurrent. + - org.openrewrite.text.FindAndReplace: + find: javax.batch.api.partition. + replace: jakarta.batch.api.partition. + - org.openrewrite.text.FindAndReplace: + find: javax.faces.component.html. + replace: jakarta.faces.component.html. + - org.openrewrite.text.FindAndReplace: + find: javax.enterprise.inject.spi.configurator. + replace: jakarta.enterprise.inject.spi.configurator. + - org.openrewrite.text.FindAndReplace: + find: javax.security.enterprise.credential. + replace: jakarta.security.enterprise.credential. + - org.openrewrite.text.FindAndReplace: + find: javax.enterprise.context.control. + replace: jakarta.enterprise.context.control. + - org.openrewrite.text.FindAndReplace: + find: javax.json.bind.annotation. + replace: jakarta.json.bind.annotation. + - org.openrewrite.text.FindAndReplace: + find: javax.mail.search. + replace: jakarta.mail.search. + - org.openrewrite.text.FindAndReplace: + find: javax.enterprise.util. + replace: jakarta.enterprise.util. + - org.openrewrite.text.FindAndReplace: + find: javax.ws.rs.client. + replace: jakarta.ws.rs.client. + - org.openrewrite.text.FindAndReplace: + find: javax.faces.model. + replace: jakarta.faces.model. + - org.openrewrite.text.FindAndReplace: + find: javax.resource.spi.security. + replace: jakarta.resource.spi.security. + - org.openrewrite.text.FindAndReplace: + find: javax.faces.view. + replace: jakarta.faces.view. + - org.openrewrite.text.FindAndReplace: + find: javax.security.enterprise. + replace: jakarta.security.enterprise. + - org.openrewrite.text.FindAndReplace: + find: javax.servlet.jsp.tagext. + replace: jakarta.servlet.jsp.tagext. + - org.openrewrite.text.FindAndReplace: + find: javax.ws.rs.core. + replace: jakarta.ws.rs.core. + - org.openrewrite.text.FindAndReplace: + find: javax.security.auth.message.module. + replace: jakarta.security.auth.message.module. + - org.openrewrite.text.FindAndReplace: + find: javax.faces.context. + replace: jakarta.faces.context. + - org.openrewrite.text.FindAndReplace: + find: javax.security.auth.message. + replace: jakarta.security.auth.message. + - org.openrewrite.text.FindAndReplace: + find: javax.annotation.sql. + replace: jakarta.annotation.sql. + - org.openrewrite.text.FindAndReplace: + find: javax.faces.annotation. + replace: jakarta.faces.annotation. + - org.openrewrite.text.FindAndReplace: + find: javax.validation.groups. + replace: jakarta.validation.groups. + - org.openrewrite.text.FindAndReplace: + find: javax.jws.soap. + replace: jakarta.jws.soap. + - org.openrewrite.text.FindAndReplace: + find: javax.ejb. + replace: jakarta.ejb. + - org.openrewrite.text.FindAndReplace: + find: javax.security.enterprise.identitystore. + replace: jakarta.security.enterprise.identitystore. + - org.openrewrite.text.FindAndReplace: + find: javax.validation. + replace: jakarta.validation. +--- +type: specs.openrewrite.org/v1beta/recipe +name: io.quarkus.updates.core.quarkus30.JavaxToJakartaKotlin +applicability: + singleSource: + - org.openrewrite.FindSourceFiles: + filePattern: "**/*.kt" +recipeList: + - org.openrewrite.text.FindAndReplace: + find: javax.json.bind.config. + replace: jakarta.json.bind.config. + - org.openrewrite.text.FindAndReplace: + find: javax.xml.soap. + replace: jakarta.xml.soap. + - org.openrewrite.text.FindAndReplace: + find: javax.security.jacc. + replace: jakarta.security.jacc. + - org.openrewrite.text.FindAndReplace: + find: javax.mail.internet. + replace: jakarta.mail.internet. + - org.openrewrite.text.FindAndReplace: + find: javax.batch.api.chunk. + replace: jakarta.batch.api.chunk. + - org.openrewrite.text.FindAndReplace: + find: javax.json.spi. + replace: jakarta.json.spi. + - org.openrewrite.text.FindAndReplace: + find: javax.resource. + replace: jakarta.resource. + - org.openrewrite.text.FindAndReplace: + find: javax.resource.spi.work. + replace: jakarta.resource.spi.work. + - org.openrewrite.text.FindAndReplace: + find: javax.xml.bind.annotation.adapters. + replace: jakarta.xml.bind.annotation.adapters. + - org.openrewrite.text.FindAndReplace: + find: javax.faces.webapp. + replace: jakarta.faces.webapp. + - org.openrewrite.text.FindAndReplace: + find: javax.faces.application. + replace: jakarta.faces.application. + - org.openrewrite.text.FindAndReplace: + find: javax.xml.bind.util. + replace: jakarta.xml.bind.util. + - org.openrewrite.text.FindAndReplace: + find: javax.persistence.criteria. + replace: jakarta.persistence.criteria. + - org.openrewrite.text.FindAndReplace: + find: javax.faces.event. + replace: jakarta.faces.event. + - org.openrewrite.text.FindAndReplace: + find: javax.activation. + replace: jakarta.activation. + - org.openrewrite.text.FindAndReplace: + find: javax.faces.flow.builder. + replace: jakarta.faces.flow.builder. + - org.openrewrite.text.FindAndReplace: + find: javax.websocket. + replace: jakarta.websocket. + - org.openrewrite.text.FindAndReplace: + find: javax.json.bind.serializer. + replace: jakarta.json.bind.serializer. + - org.openrewrite.text.FindAndReplace: + find: javax.enterprise.inject.se. + replace: jakarta.enterprise.inject.se. + - org.openrewrite.text.FindAndReplace: + find: javax.resource.cci. + replace: jakarta.resource.cci. + - org.openrewrite.text.FindAndReplace: + find: javax.validation.spi. + replace: jakarta.validation.spi. + - org.openrewrite.text.FindAndReplace: + find: javax.transaction. + replace: jakarta.transaction. + - org.openrewrite.text.FindAndReplace: + find: javax.xml.bind.attachment. + replace: jakarta.xml.bind.attachment. + - org.openrewrite.text.FindAndReplace: + find: javax.interceptor. + replace: jakarta.interceptor. + - org.openrewrite.text.FindAndReplace: + find: javax.xml.bind.helpers. + replace: jakarta.xml.bind.helpers. + - org.openrewrite.text.FindAndReplace: + find: javax.ejb.embeddable. + replace: jakarta.ejb.embeddable. + - org.openrewrite.text.FindAndReplace: + find: javax.persistence. + replace: jakarta.persistence. + - org.openrewrite.text.FindAndReplace: + find: javax.enterprise.inject. + replace: jakarta.enterprise.inject. + - org.openrewrite.text.FindAndReplace: + find: javax.mail.event. + replace: jakarta.mail.event. + - org.openrewrite.text.FindAndReplace: + find: javax.resource.spi.endpoint. + replace: jakarta.resource.spi.endpoint. + - org.openrewrite.text.FindAndReplace: + find: javax.faces.component.visit. + replace: jakarta.faces.component.visit. + - org.openrewrite.text.FindAndReplace: + find: javax.servlet.jsp.jstl. + replace: jakarta.servlet.jsp.jstl. + - org.openrewrite.text.FindAndReplace: + find: javax.servlet.jsp.el. + replace: jakarta.servlet.jsp.el. + - org.openrewrite.text.FindAndReplace: + find: javax.faces.el. + replace: jakarta.faces.el. + - org.openrewrite.text.FindAndReplace: + find: javax.xml.bind. + replace: jakarta.xml.bind. + - org.openrewrite.text.FindAndReplace: + find: javax.json.bind.adapter. + replace: jakarta.json.bind.adapter. + - org.openrewrite.text.FindAndReplace: + find: javax.validation.valueextraction. + replace: jakarta.validation.valueextraction. + - org.openrewrite.text.FindAndReplace: + find: javax.faces.view.facelets. + replace: jakarta.faces.view.facelets. + - org.openrewrite.text.FindAndReplace: + find: javax.faces.flow. + replace: jakarta.faces.flow. + - org.openrewrite.text.FindAndReplace: + find: javax.faces.render. + replace: jakarta.faces.render. + - org.openrewrite.text.FindAndReplace: + find: javax.mail.util. + replace: jakarta.mail.util. + - org.openrewrite.text.FindAndReplace: + find: javax.batch.runtime.context. + replace: jakarta.batch.runtime.context. + - org.openrewrite.text.FindAndReplace: + find: javax.annotation.security. + replace: jakarta.annotation.security. + - org.openrewrite.text.FindAndReplace: + find: javax.faces.component. + replace: jakarta.faces.component. + - org.openrewrite.text.FindAndReplace: + find: javax.servlet.jsp.jstl.fmt. + replace: jakarta.servlet.jsp.jstl.fmt. + - org.openrewrite.text.FindAndReplace: + find: javax.json.bind.spi. + replace: jakarta.json.bind.spi. + - org.openrewrite.text.FindAndReplace: + find: javax.servlet. + replace: jakarta.servlet. + - org.openrewrite.text.FindAndReplace: + find: javax.batch.operations. + replace: jakarta.batch.operations. + - org.openrewrite.text.FindAndReplace: + find: javax.faces.push. + replace: jakarta.faces.push. + - org.openrewrite.text.FindAndReplace: + find: javax.servlet.descriptor. + replace: jakarta.servlet.descriptor. + - org.openrewrite.text.FindAndReplace: + find: javax.xml.ws.handler.soap. + replace: jakarta.xml.ws.handler.soap. + - org.openrewrite.text.FindAndReplace: + find: javax.validation.executable. + replace: jakarta.validation.executable. + - org.openrewrite.text.FindAndReplace: + find: javax.faces.component.behavior. + replace: jakarta.faces.component.behavior. + - org.openrewrite.text.FindAndReplace: + find: javax.xml.bind.annotation. + replace: jakarta.xml.bind.annotation. + - org.openrewrite.text.FindAndReplace: + find: javax.batch.runtime. + replace: jakarta.batch.runtime. + - org.openrewrite.text.FindAndReplace: + find: javax.json.stream. + replace: jakarta.json.stream. + - org.openrewrite.text.FindAndReplace: + find: javax.servlet.annotation. + replace: jakarta.servlet.annotation. + - org.openrewrite.text.FindAndReplace: + find: javax.servlet.resources. + replace: jakarta.servlet.resources. + - org.openrewrite.text.FindAndReplace: + find: javax.servlet.http. + replace: jakarta.servlet.http. + - org.openrewrite.text.FindAndReplace: + find: javax.xml.ws.spi.http. + replace: jakarta.xml.ws.spi.http. + - org.openrewrite.text.FindAndReplace: + find: javax.ws.rs.container. + replace: jakarta.ws.rs.container. + - org.openrewrite.text.FindAndReplace: + find: javax.xml.ws. + replace: jakarta.xml.ws. + - org.openrewrite.text.FindAndReplace: + find: javax.enterprise.context.spi. + replace: jakarta.enterprise.context.spi. + - org.openrewrite.text.FindAndReplace: + find: javax.resource.spi. + replace: jakarta.resource.spi. + - org.openrewrite.text.FindAndReplace: + find: javax.faces.validator. + replace: jakarta.faces.validator. + - org.openrewrite.text.FindAndReplace: + find: javax.jws. + replace: jakarta.jws. + - org.openrewrite.text.FindAndReplace: + find: javax.annotation. + replace: jakarta.annotation. + - org.openrewrite.text.FindAndReplace: + find: javax.faces.component.search. + replace: jakarta.faces.component.search. + - org.openrewrite.text.FindAndReplace: + find: javax.json.bind. + replace: jakarta.json.bind. + - org.openrewrite.text.FindAndReplace: + find: javax.servlet.jsp.jstl.tlv. + replace: jakarta.servlet.jsp.jstl.tlv. + - org.openrewrite.text.FindAndReplace: + find: javax.servlet.jsp.jstl.core. + replace: jakarta.servlet.jsp.jstl.core. + - org.openrewrite.text.FindAndReplace: + find: javax.decorator. + replace: jakarta.decorator. + - org.openrewrite.text.FindAndReplace: + find: javax.faces.bean. + replace: jakarta.faces.bean. + - org.openrewrite.text.FindAndReplace: + find: javax.ws.rs.sse. + replace: jakarta.ws.rs.sse. + - org.openrewrite.text.FindAndReplace: + find: javax.persistence.metamodel. + replace: jakarta.persistence.metamodel. + - org.openrewrite.text.FindAndReplace: + find: javax.enterprise.context. + replace: jakarta.enterprise.context. + - org.openrewrite.text.FindAndReplace: + find: javax.xml.ws.spi. + replace: jakarta.xml.ws.spi. + - org.openrewrite.text.FindAndReplace: + find: javax.batch.api. + replace: jakarta.batch.api. + - org.openrewrite.text.FindAndReplace: + find: javax.el. + replace: jakarta.el. + - org.openrewrite.text.FindAndReplace: + find: javax.json. + replace: jakarta.json. + - org.openrewrite.text.FindAndReplace: + find: javax.batch.api.chunk.listener. + replace: jakarta.batch.api.chunk.listener. + - org.openrewrite.text.FindAndReplace: + find: javax.persistence.spi. + replace: jakarta.persistence.spi. + - org.openrewrite.text.FindAndReplace: + find: javax.xml.ws.handler. + replace: jakarta.xml.ws.handler. + - org.openrewrite.text.FindAndReplace: + find: javax.servlet.jsp.jstl.sql. + replace: jakarta.servlet.jsp.jstl.sql. + - org.openrewrite.text.FindAndReplace: + find: javax.enterprise.inject.literal. + replace: jakarta.enterprise.inject.literal. + - org.openrewrite.text.FindAndReplace: + find: javax.ws.rs.ext. + replace: jakarta.ws.rs.ext. + - org.openrewrite.text.FindAndReplace: + find: javax.validation.constraints. + replace: jakarta.validation.constraints. + - org.openrewrite.text.FindAndReplace: + find: javax.servlet.jsp.resources. + replace: jakarta.servlet.jsp.resources. + - org.openrewrite.text.FindAndReplace: + find: javax.validation.constraintvalidation. + replace: jakarta.validation.constraintvalidation. + - org.openrewrite.text.FindAndReplace: + find: javax.faces.lifecycle. + replace: jakarta.faces.lifecycle. + - org.openrewrite.text.FindAndReplace: + find: javax.security.auth.message.callback. + replace: jakarta.security.auth.message.callback. + - org.openrewrite.text.FindAndReplace: + find: javax.ws.rs. + replace: jakarta.ws.rs. + - org.openrewrite.text.FindAndReplace: + find: javax.security.auth.message.config. + replace: jakarta.security.auth.message.config. + - org.openrewrite.text.FindAndReplace: + find: javax.websocket.server. + replace: jakarta.websocket.server. + - org.openrewrite.text.FindAndReplace: + find: javax.security.enterprise.authentication.mechanism.http. + replace: jakarta.security.enterprise.authentication.mechanism.http. + - org.openrewrite.text.FindAndReplace: + find: javax.enterprise.event. + replace: jakarta.enterprise.event. + - org.openrewrite.text.FindAndReplace: + find: javax.inject. + replace: jakarta.inject. + - org.openrewrite.text.FindAndReplace: + find: javax.batch.api.listener. + replace: jakarta.batch.api.listener. + - org.openrewrite.text.FindAndReplace: + find: javax.xml.ws.http. + replace: jakarta.xml.ws.http. + - org.openrewrite.text.FindAndReplace: + find: javax.xml.ws.soap. + replace: jakarta.xml.ws.soap. + - org.openrewrite.text.FindAndReplace: + find: javax.enterprise.inject.spi. + replace: jakarta.enterprise.inject.spi. + - org.openrewrite.text.FindAndReplace: + find: javax.faces. + replace: jakarta.faces. + - org.openrewrite.text.FindAndReplace: + find: javax.jms. + replace: jakarta.jms. + - org.openrewrite.text.FindAndReplace: + find: javax.xml.ws.wsaddressing. + replace: jakarta.xml.ws.wsaddressing. + - org.openrewrite.text.FindAndReplace: + find: javax.validation.bootstrap. + replace: jakarta.validation.bootstrap. + - org.openrewrite.text.FindAndReplace: + find: javax.ejb.spi. + replace: jakarta.ejb.spi. + - org.openrewrite.text.FindAndReplace: + find: javax.validation.metadata. + replace: jakarta.validation.metadata. + - org.openrewrite.text.FindAndReplace: + find: javax.servlet.jsp. + replace: jakarta.servlet.jsp. + - org.openrewrite.text.FindAndReplace: + find: javax.faces.convert. + replace: jakarta.faces.convert. + - org.openrewrite.text.FindAndReplace: + find: javax.mail. + replace: jakarta.mail. + - org.openrewrite.text.FindAndReplace: + find: javax.enterprise.concurrent. + replace: jakarta.enterprise.concurrent. + - org.openrewrite.text.FindAndReplace: + find: javax.batch.api.partition. + replace: jakarta.batch.api.partition. + - org.openrewrite.text.FindAndReplace: + find: javax.faces.component.html. + replace: jakarta.faces.component.html. + - org.openrewrite.text.FindAndReplace: + find: javax.enterprise.inject.spi.configurator. + replace: jakarta.enterprise.inject.spi.configurator. + - org.openrewrite.text.FindAndReplace: + find: javax.security.enterprise.credential. + replace: jakarta.security.enterprise.credential. + - org.openrewrite.text.FindAndReplace: + find: javax.enterprise.context.control. + replace: jakarta.enterprise.context.control. + - org.openrewrite.text.FindAndReplace: + find: javax.json.bind.annotation. + replace: jakarta.json.bind.annotation. + - org.openrewrite.text.FindAndReplace: + find: javax.mail.search. + replace: jakarta.mail.search. + - org.openrewrite.text.FindAndReplace: + find: javax.enterprise.util. + replace: jakarta.enterprise.util. + - org.openrewrite.text.FindAndReplace: + find: javax.ws.rs.client. + replace: jakarta.ws.rs.client. + - org.openrewrite.text.FindAndReplace: + find: javax.faces.model. + replace: jakarta.faces.model. + - org.openrewrite.text.FindAndReplace: + find: javax.resource.spi.security. + replace: jakarta.resource.spi.security. + - org.openrewrite.text.FindAndReplace: + find: javax.faces.view. + replace: jakarta.faces.view. + - org.openrewrite.text.FindAndReplace: + find: javax.security.enterprise. + replace: jakarta.security.enterprise. + - org.openrewrite.text.FindAndReplace: + find: javax.servlet.jsp.tagext. + replace: jakarta.servlet.jsp.tagext. + - org.openrewrite.text.FindAndReplace: + find: javax.ws.rs.core. + replace: jakarta.ws.rs.core. + - org.openrewrite.text.FindAndReplace: + find: javax.security.auth.message.module. + replace: jakarta.security.auth.message.module. + - org.openrewrite.text.FindAndReplace: + find: javax.faces.context. + replace: jakarta.faces.context. + - org.openrewrite.text.FindAndReplace: + find: javax.security.auth.message. + replace: jakarta.security.auth.message. + - org.openrewrite.text.FindAndReplace: + find: javax.annotation.sql. + replace: jakarta.annotation.sql. + - org.openrewrite.text.FindAndReplace: + find: javax.faces.annotation. + replace: jakarta.faces.annotation. + - org.openrewrite.text.FindAndReplace: + find: javax.validation.groups. + replace: jakarta.validation.groups. + - org.openrewrite.text.FindAndReplace: + find: javax.jws.soap. + replace: jakarta.jws.soap. + - org.openrewrite.text.FindAndReplace: + find: javax.ejb. + replace: jakarta.ejb. + - org.openrewrite.text.FindAndReplace: + find: javax.security.enterprise.identitystore. + replace: jakarta.security.enterprise.identitystore. + - org.openrewrite.text.FindAndReplace: + find: javax.validation. + replace: jakarta.validation. diff --git a/.ci/environments/quarkus-3/quarkus3.yml b/.ci/environments/quarkus-3/quarkus3.yml new file mode 100644 index 0000000..38dd3c5 --- /dev/null +++ b/.ci/environments/quarkus-3/quarkus3.yml @@ -0,0 +1,4624 @@ +name: io.quarkus.openrewrite.Quarkus +description: Update Quarkus version and refactor imports and resources if needed. +type: specs.openrewrite.org/v1beta/recipe +recipeList: +- org.openrewrite.maven.ChangePropertyValue: { + key: version.io.quarkus, + newValue: 3.0.0.Final + } +- org.kie.ManagedDependencies +- io.quarkus.updates.core.quarkus30.UpgradeQuarkiverse +- org.openrewrite.java.migrate.jakarta.JavaxActivationMigrationToJakartaActivation +- org.openrewrite.java.migrate.jakarta.JavaxAnnotationMigrationToJakartaAnnotation +- org.openrewrite.java.migrate.jakarta.ChangeJavaxAnnotationToJakarta +- org.openrewrite.java.migrate.jakarta.JavaxAnnotationPackageToJakarta +- org.openrewrite.java.migrate.jakarta.JavaxAnnotationSecurityPackageToJakarta +- org.openrewrite.java.migrate.jakarta.JavaxAnnotationSqlPackageToJakarta +- org.openrewrite.java.migrate.jakarta.JavaxAuthenticationMigrationToJakartaAuthentication +- org.openrewrite.java.migrate.jakarta.JavaxAuthorizationMigrationToJakartaAuthorization +- org.openrewrite.java.migrate.jakarta.JavaxBatchMigrationToJakartaBatch +- org.openrewrite.java.migrate.jakarta.JavaxValidationMigrationToJakartaValidation +- org.openrewrite.java.migrate.jakarta.JavaxDecoratorToJakartaDecorator +- org.openrewrite.java.migrate.jakarta.JavaxEjbToJakartaEjb +- org.openrewrite.java.migrate.jakarta.JavaxElToJakartaEl +- org.openrewrite.java.migrate.jakarta.JavaxEnterpriseToJakartaEnterprise +- org.openrewrite.java.migrate.jakarta.JavaxFacesToJakartaFaces +- org.openrewrite.java.migrate.jakarta.JavaxInjectMigrationToJakartaInject +- org.openrewrite.java.migrate.jakarta.JavaxInterceptorToJakartaInterceptor +- org.openrewrite.java.migrate.jakarta.JavaxJmsToJakartaJms +- org.openrewrite.java.migrate.jakarta.JavaxJsonToJakartaJson +- org.openrewrite.java.migrate.jakarta.JavaxJwsToJakartaJws +- org.openrewrite.java.migrate.jakarta.JavaxMailToJakartaMail +- org.openrewrite.java.migrate.jakarta.JavaxPersistenceToJakartaPersistence +- org.openrewrite.java.migrate.jakarta.JavaxResourceToJakartaResource +- org.openrewrite.java.migrate.jakarta.JavaxSecurityToJakartaSecurity +- org.openrewrite.java.migrate.jakarta.JavaxServletToJakartaServlet +- org.openrewrite.java.migrate.jakarta.JavaxTransactionMigrationToJakartaTransaction +- org.openrewrite.java.migrate.jakarta.JavaxWebsocketToJakartaWebsocket +- org.openrewrite.java.migrate.jakarta.JavaxWsToJakartaWs +- org.openrewrite.java.migrate.jakarta.JavaxXmlBindMigrationToJakartaXmlBind +- org.openrewrite.java.migrate.jakarta.JavaxXmlSoapToJakartaXmlSoap +- org.openrewrite.java.migrate.jakarta.JavaxXmlWsMigrationToJakartaXmlWs +- org.openrewrite.java.migrate.jakarta.JavaxPersistenceXmlToJakartaPersistenceXml +- org.openrewrite.java.migrate.jakarta.JacksonJavaxToJakarta +- org.openrewrite.java.migrate.jakarta.RestAssuredJavaxToJakarta +- io.quarkus.updates.core.quarkus30.JavaxToJakartaAdditionalMigration +- io.quarkus.updates.core.quarkus30.RenameJavaxServiceFiles +- io.quarkus.updates.core.quarkus30.AdditionalChanges +- io.quarkus.updates.core.quarkus30.ApplicationProperties +- io.quarkus.updates.core.quarkus30.ApplicationYml +- io.quarkus.updates.core.quarkus30.ApplicationYaml +- io.quarkus.updates.core.quarkus30.JavaxToJakartaDocumentationAdoc +- io.quarkus.updates.core.quarkus30.JavaxToJakartaDocumentationMd +- io.quarkus.updates.core.quarkus30.JavaxToJakartaCodestarts +- io.quarkus.updates.core.quarkus30.JavaxToJakartaCodestartsTests +- io.quarkus.updates.core.quarkus30.JavaxToJakartaKotlin +displayName: Migrate quarkus project to a new version +tags: [ + quarkus +] +--- +displayName: Update Managed Dependencies +name: org.kie.ManagedDependencies +description: Update all managed dependencies based on dependency updates from Quarkus. +type: specs.openrewrite.org/v1beta/recipe +recipeList: +- org.openrewrite.maven.ChangeManagedDependencyGroupIdAndArtifactId: { + oldGroupId: javax.activation, + oldArtifactId: javax.activation-api, + newGroupId: jakarta.activation, + newArtifactId: jakarta.activation-api, + newVersion: 2.x + } +- org.openrewrite.maven.ChangeManagedDependencyGroupIdAndArtifactId: { + oldGroupId: javax.annotation, + oldArtifactId: javax.annotation-api, + newGroupId: jakarta.annotation, + newArtifactId: jakarta.annotation-api, + newVersion: 2.x + } +- org.openrewrite.maven.ChangeManagedDependencyGroupIdAndArtifactId: { + oldGroupId: javax.security.auth.message, + oldArtifactId: javax.security.auth.message-api, + newGroupId: jakarta.authentication, + newArtifactId: jakarta.authentication-api, + newVersion: 2.x + } +- org.openrewrite.maven.ChangeManagedDependencyGroupIdAndArtifactId: { + oldGroupId: javax.security.jacc, + oldArtifactId: javax.security.jacc-api, + newGroupId: jakarta.authorization, + newArtifactId: jakarta.authorization-api, + newVersion: 2.x + } +- org.openrewrite.maven.ChangeManagedDependencyGroupIdAndArtifactId: { + oldGroupId: javax.batch, + oldArtifactId: javax.batch-api, + newGroupId: jakarta.batch, + newArtifactId: jakarta.batch-api, + newVersion: 2.x + } +- org.openrewrite.maven.ChangeManagedDependencyGroupIdAndArtifactId: { + oldGroupId: javax.validation, + oldArtifactId: validation-api, + newGroupId: jakarta.validation, + newArtifactId: jakarta.validation-api, + newVersion: 3.x + } +- org.openrewrite.maven.ChangeManagedDependencyGroupIdAndArtifactId: { + oldGroupId: javax.enterprise, + oldArtifactId: cdi-api, + newGroupId: jakarta.enterprise, + newArtifactId: jakarta.enterprise.cdi-api, + newVersion: 4.x + } +- org.openrewrite.maven.ChangeManagedDependencyGroupIdAndArtifactId: { + oldGroupId: javax.ejb, + oldArtifactId: javax.ejb-api, + newGroupId: jakarta.ejb, + newArtifactId: jakarta.ejb-api, + newVersion: 4.x + } +- org.openrewrite.maven.ChangeManagedDependencyGroupIdAndArtifactId: { + oldGroupId: javax.el, + oldArtifactId: javax.el-api, + newGroupId: jakarta.el, + newArtifactId: jakarta.el-api, + newVersion: 4.x + } +- org.openrewrite.maven.ChangeManagedDependencyGroupIdAndArtifactId: { + oldGroupId: javax.enterprise, + oldArtifactId: cdi-api, + newGroupId: jakarta.enterprise, + newArtifactId: jakarta.enterprise.cdi-api, + newVersion: 4.x + } +- org.openrewrite.maven.ChangeManagedDependencyGroupIdAndArtifactId: { + oldGroupId: javax.faces, + oldArtifactId: javax.faces-api, + newGroupId: jakarta.faces, + newArtifactId: jakarta.faces-api, + newVersion: 4.x + } +- org.openrewrite.maven.ChangeManagedDependencyGroupIdAndArtifactId: { + groupId: org.glassfish, + artifactId: javax.faces, + newGroupId: org.glassfish, + newArtifactId: jakarta.faces, + newVersion: 4.x + } +- org.openrewrite.maven.ChangeManagedDependencyGroupIdAndArtifactId: { + oldGroupId: javax.inject, + oldArtifactId: javax.inject-api, + newGroupId: jakarta.inject, + newArtifactId: jakarta.inject-api, + newVersion: 2.x + } +- org.openrewrite.maven.ChangeManagedDependencyGroupIdAndArtifactId: { + oldGroupId: javax.interceptor, + oldArtifactId: javax.interceptor-api, + newGroupId: jakarta.interceptor, + newArtifactId: jakarta.interceptor-api, + newVersion: 2.x + } +- org.openrewrite.maven.ChangeManagedDependencyGroupIdAndArtifactId: { + oldGroupId: javax.jms, + oldArtifactId: javax.jms-api, + newGroupId: jakarta.jms, + newArtifactId: jakarta.jms-api, + newVersion: 3.x + } +- org.openrewrite.maven.ChangeManagedDependencyGroupIdAndArtifactId: { + oldGroupId: javax.json, + oldArtifactId: javax.json-api, + newGroupId: jakarta.json, + newArtifactId: jakarta.json-api, + newVersion: 2.x + } +- org.openrewrite.maven.ChangeManagedDependencyGroupIdAndArtifactId: { + oldGroupId: javax.jws, + oldArtifactId: javax.jws-api, + newGroupId: jakarta.jws, + newArtifactId: jakarta.jws-api, + newVersion: 3.x + } +- org.openrewrite.maven.ChangeManagedDependencyGroupIdAndArtifactId: { + oldGroupId: javax.mail, + oldArtifactId: javax.mail-api, + newGroupId: jakarta.mail, + newArtifactId: jakarta.mail-api, + newVersion: 2.x + } +- org.openrewrite.maven.ChangeManagedDependencyGroupIdAndArtifactId: { + oldGroupId: javax.persistence, + oldArtifactId: javax.persistence, + newGroupId: jakarta.persistence, + newArtifactId: jakarta.persistence-api, + newVersion: 3.0.x + } +- org.openrewrite.maven.ChangeManagedDependencyGroupIdAndArtifactId: { + oldGroupId: javax.resource, + oldArtifactId: javax.resource-api, + newGroupId: jakarta.resource, + newArtifactId: jakarta.resource-api, + newVersion: 2.x + } +- org.openrewrite.maven.ChangeManagedDependencyGroupIdAndArtifactId: { + oldGroupId: javax.security.enterprise, + oldArtifactId: javax.security.enterprise-api, + newGroupId: jakarta.security.enterprise, + newArtifactId: jakarta.security.enterprise-api, + newVersion: 3.x + } +- org.openrewrite.maven.ChangeManagedDependencyGroupIdAndArtifactId: { + oldGroupId: javax.servlet, + oldArtifactId: javax.servlet-api, + newGroupId: jakarta.servlet, + newArtifactId: jakarta.servlet-api, + newVersion: 6.x + } +- org.openrewrite.maven.ChangeManagedDependencyGroupIdAndArtifactId: { + oldGroupId: javax.transaction, + oldArtifactId: javax.transaction-api, + newGroupId: jakarta.transaction, + newArtifactId: jakarta.transaction-api, + newVersion: 2.x + } +- org.openrewrite.maven.ChangeManagedDependencyGroupIdAndArtifactId: { + oldGroupId: javax.websocket, + oldArtifactId: javax.websocket-api, + newGroupId: jakarta.websocket, + newArtifactId: jakarta.websocket-api, + newVersion: 2.x + } +- org.openrewrite.maven.ChangeManagedDependencyGroupIdAndArtifactId: { + oldGroupId: javax.ws.rs, + oldArtifactId: javax.ws.rs-api, + newGroupId: jakarta.ws.rs, + newArtifactId: jakarta.ws.rs-api, + newVersion: 3.x + } +- org.openrewrite.maven.ChangeManagedDependencyGroupIdAndArtifactId: { + oldGroupId: javax.xml.bind, + oldArtifactId: jaxb-api, + newGroupId: jakarta.xml.bind, + newArtifactId: jakarta.xml.bind-api, + newVersion: 4.x + } +- org.openrewrite.maven.ChangeManagedDependencyGroupIdAndArtifactId: { + oldGroupId: com.sun.xml.bind, + oldArtifactId: jaxb-impl, + newGroupId: org.glassfish.jaxb, + newArtifactId: jaxb-runtime, + newVersion: 4.x + } +- org.openrewrite.maven.ChangeManagedDependencyGroupIdAndArtifactId: { + oldGroupId: javax.xml.soap, + oldArtifactId: javax.xml.soap-api, + newGroupId: jakarta.xml.soap, + newArtifactId: jakarta.xml.soap-api, + newVersion: 3.x + } +- org.openrewrite.maven.ChangeManagedDependencyGroupIdAndArtifactId: { + oldGroupId: javax.xml.ws, + oldArtifactId: jaxws-api, + newGroupId: jakarta.xml.ws, + newArtifactId: jakarta.xml.ws-api, + newVersion: 4.x + } +- org.openrewrite.maven.ChangeManagedDependencyGroupIdAndArtifactId: { + oldGroupId: com.fasterxml.jackson.module, + oldArtifactId: jackson-module-jaxb-annotations, + newGroupId: com.fasterxml.jackson.module, + newArtifactId: jackson-module-jakarta-xmlbind-annotations + } +- org.openrewrite.maven.ChangeManagedDependencyGroupIdAndArtifactId: { + oldGroupId: com.fasterxml.jackson.jaxrs, + oldArtifactId: jackson-jaxrs-cbor-provider, + newGroupId: com.fasterxml.jackson.jakarta.rs, + newArtifactId: jackson-jakarta-rs-cbor-provider + } +- org.openrewrite.maven.ChangeManagedDependencyGroupIdAndArtifactId: { + oldGroupId: com.fasterxml.jackson.jaxrs, + oldArtifactId: jackson-jaxrs-json-provider, + newGroupId: com.fasterxml.jackson.jakarta.rs, + newArtifactId: jackson-jakarta-rs-json-provider + } +- org.openrewrite.maven.ChangeManagedDependencyGroupIdAndArtifactId: { + oldGroupId: com.fasterxml.jackson.jaxrs, + oldArtifactId: jackson-jaxrs-smile-provider, + newGroupId: com.fasterxml.jackson.jakarta.rs, + newArtifactId: jackson-jakarta-rs-smile-provider + } +- org.openrewrite.maven.ChangeManagedDependencyGroupIdAndArtifactId: { + oldGroupId: com.fasterxml.jackson.jaxrs, + oldArtifactId: jackson-jaxrs-xml-provider, + newGroupId: com.fasterxml.jackson.jakarta.rs, + newArtifactId: jackson-jakarta-rs-xml-provider + } +- org.openrewrite.maven.ChangeManagedDependencyGroupIdAndArtifactId: { + oldGroupId: com.fasterxml.jackson.jaxrs, + oldArtifactId: jackson-jaxrs-yaml-provider, + newGroupId: com.fasterxml.jackson.jakarta.rs, + newArtifactId: jackson-jakarta-rs-yaml-provider + } +- org.openrewrite.maven.ChangeManagedDependencyGroupIdAndArtifactId: { + oldGroupId: com.fasterxml.jackson.datatype, + oldArtifactId: jackson-datatype-jsr353, + newGroupId: com.fasterxml.jackson.datatype, + newArtifactId: jackson-datatype-jakarta-jsonp + } +- org.openrewrite.maven.ChangeManagedDependencyGroupIdAndArtifactId: { + oldGroupId: org.glassfish, + oldArtifactId: javax.json, + newGroupId: org.eclipse.parsson, + newArtifactId: parsson + } +- org.openrewrite.maven.ChangeManagedDependencyGroupIdAndArtifactId: { + oldGroupId: org.glassfish, + oldArtifactId: jakarta.json, + newGroupId: org.eclipse.parsson, + newArtifactId: parsson + } +- org.openrewrite.maven.ChangeManagedDependencyGroupIdAndArtifactId: { + oldGroupId: org.glassfish, + oldArtifactId: jakarta.el, + newGroupId: org.glassfish.expressly, + newArtifactId: expressly + } +- org.openrewrite.maven.ChangeManagedDependencyGroupIdAndArtifactId: { + oldGroupId: org.hibernate, + oldArtifactId: hibernate-core, + newGroupId: org.hibernate.orm, + newArtifactId: hibernate-core + } +- org.openrewrite.maven.ChangeManagedDependencyGroupIdAndArtifactId: { + oldGroupId: org.hibernate, + oldArtifactId: hibernate-envers, + newGroupId: org.hibernate.orm, + newArtifactId: hibernate-envers + } +- org.openrewrite.maven.ChangeManagedDependencyGroupIdAndArtifactId: { + oldGroupId: org.hibernate, + oldArtifactId: hibernate-jpamodelgen, + newGroupId: org.hibernate.orm, + newArtifactId: hibernate-jpamodelgen + } +- org.openrewrite.maven.ChangeManagedDependencyGroupIdAndArtifactId: { + oldGroupId: org.hibernate, + oldArtifactId: hibernate-spatial, + newGroupId: org.hibernate.orm, + newArtifactId: hibernate-spatial + } +- org.openrewrite.maven.ChangeManagedDependencyGroupIdAndArtifactId: { + oldGroupId: org.hibernate, + oldArtifactId: hibernate-testing, + newGroupId: org.hibernate.orm, + newArtifactId: hibernate-testing + } +- org.openrewrite.maven.ChangeManagedDependencyGroupIdAndArtifactId: { + oldGroupId: org.hibernate, + oldArtifactId: hibernate-micrometer, + newGroupId: org.hibernate.orm, + newArtifactId: hibernate-micrometer + } +- org.openrewrite.maven.ChangeManagedDependencyGroupIdAndArtifactId: { + oldGroupId: org.hibernate, + oldArtifactId: hibernate-jcache, + newGroupId: org.hibernate.orm, + newArtifactId: hibernate-jcache + } +- org.openrewrite.maven.ChangeManagedDependencyGroupIdAndArtifactId: { + oldGroupId: org.hibernate, + oldArtifactId: hibernate-infinispan, + newGroupId: org.hibernate.orm, + newArtifactId: hibernate-infinispan + } +- org.openrewrite.maven.ChangeManagedDependencyGroupIdAndArtifactId: { + oldGroupId: org.hibernate, + oldArtifactId: hibernate-ehcache, + newGroupId: org.hibernate.orm, + newArtifactId: hibernate-ehcache + } +- org.openrewrite.maven.ChangeManagedDependencyGroupIdAndArtifactId: { + oldGroupId: org.hibernate.search, + oldArtifactId: hibernate-search-mapper-orm-coordination-outbox-polling, + newGroupId: org.hibernate.search, + newArtifactId: hibernate-search-mapper-orm-coordination-outbox-polling-jakarta + } +- org.openrewrite.maven.ChangeManagedDependencyGroupIdAndArtifactId: { + oldGroupId: org.hibernate.search, + oldArtifactId: hibernate-search-mapper-orm, + newGroupId: org.hibernate.search, + newArtifactId: hibernate-search-mapper-orm-jakarta + } +- org.openrewrite.maven.ChangeManagedDependencyGroupIdAndArtifactId: { + oldGroupId: org.hibernate, + oldArtifactId: quarkus-local-cache, + newGroupId: org.hibernate, + newArtifactId: quarkus-local-cache-jakarta + } +- org.openrewrite.maven.ChangeManagedDependencyGroupIdAndArtifactId: { + oldGroupId: org.jboss.spec.javax.ws.rs, + oldArtifactId: jboss-jaxrs-api_2.1_spec, + newGroupId: jakarta.ws.rs, + newArtifactId: jakarta.ws.rs-api + } +- org.openrewrite.maven.ChangeManagedDependencyGroupIdAndArtifactId: { + oldGroupId: org.jboss.spec.javax.xml.bind, + oldArtifactId: jboss-jaxb-api_2.3_spec, + newGroupId: jakarta.xml.bind, + newArtifactId: jakarta.xml.bind-api + } +- org.openrewrite.maven.ChangeManagedDependencyGroupIdAndArtifactId: { + oldGroupId: org.jboss.spec.javax.transaction, + oldArtifactId: jboss-transaction-api_1.3_spec, + newGroupId: jakarta.transaction, + newArtifactId: jakarta.transaction-api + } +- org.openrewrite.maven.ChangeManagedDependencyGroupIdAndArtifactId: { + oldGroupId: com.sun.activation, + oldArtifactId: jakarta.activation, + newGroupId: org.eclipse.angus, + newArtifactId: angus-activation + } +- org.openrewrite.maven.ChangeManagedDependencyGroupIdAndArtifactId: { + oldGroupId: com.sun.activation, + oldArtifactId: javax.activation, + newGroupId: org.eclipse.angus, + newArtifactId: angus-activation + } +- org.openrewrite.maven.ChangeManagedDependencyGroupIdAndArtifactId: { + oldGroupId: org.jboss.spec.javax.ejb, + oldArtifactId: jboss-ejb-api_3.1_spec, + newGroupId: jakarta.ejb, + newArtifactId: jakarta.ejb-api + } +- org.openrewrite.maven.ChangeManagedDependencyGroupIdAndArtifactId: { + oldGroupId: org.keycloak, + oldArtifactId: keycloak-admin-client, + newGroupId: org.keycloak, + newArtifactId: keycloak-admin-client-jakarta + } +- org.openrewrite.maven.ChangeManagedDependencyGroupIdAndArtifactId: { + oldGroupId: org.keycloak, + oldArtifactId: keycloak-admin-client, + newGroupId: org.keycloak, + newArtifactId: keycloak-admin-client-jakarta + } +--- +type: specs.openrewrite.org/v1beta/recipe +name: io.quarkus.updates.core.quarkus30.UpgradeQuarkiverse +recipeList: +- org.openrewrite.maven.UpgradeDependencyVersion: { + groupId: io.quarkus.bot, + artifactId: build-reporter-*, + newVersion: 3.x + } +- org.openrewrite.maven.UpgradeDependencyVersion: { + groupId: io.quarkiverse.vault, + artifactId: '*', + newVersion: 3.x + } +- org.openrewrite.maven.UpgradeDependencyVersion: { + groupId: io.quarkiverse.amazonservices, + artifactId: '*', + newVersion: 2.x + } +- org.openrewrite.maven.UpgradeDependencyVersion: { + groupId: io.quarkiverse.cxf, + artifactId: '*', + newVersion: 2.x + } +- org.openrewrite.maven.UpgradeDependencyVersion: { + groupId: io.quarkiverse.jsch, + artifactId: '*', + newVersion: 3.x + } +- org.openrewrite.maven.UpgradeDependencyVersion: { + groupId: io.quarkiverse.jberet, + artifactId: '*', + newVersion: 2.x + } +- org.openrewrite.maven.UpgradeDependencyVersion: { + groupId: io.quarkiverse.artemis, + artifactId: '*', + newVersion: 3.x + } +- org.openrewrite.maven.UpgradeDependencyVersion: { + groupId: io.quarkiverse.config, + artifactId: '*', + newVersion: 2.x + } +- org.openrewrite.maven.UpgradeDependencyVersion: { + groupId: io.quarkiverse.freemarker, + artifactId: '*', + newVersion: 1.x + } +- org.openrewrite.maven.UpgradeDependencyVersion: { + groupId: io.quarkiverse.githubapp, + artifactId: '*', + newVersion: 2.x + } +- org.openrewrite.maven.UpgradeDependencyVersion: { + groupId: io.quarkiverse.mybatis, + artifactId: '*', + newVersion: 2.x + } +- org.openrewrite.maven.UpgradeDependencyVersion: { + groupId: io.quarkiverse.messaginghub, + artifactId: '*', + newVersion: 2.x + } +- org.openrewrite.maven.UpgradeDependencyVersion: { + groupId: io.quarkiverse.prettytime, + artifactId: '*', + newVersion: 2.x + } +- org.openrewrite.maven.UpgradeDependencyVersion: { + groupId: io.quarkiverse.xmlsec, + artifactId: '*', + newVersion: 2.x + } +- org.openrewrite.maven.UpgradeDependencyVersion: { + groupId: io.quarkiverse.jef, + artifactId: '*', + newVersion: 3.x + } +- org.openrewrite.maven.UpgradeDependencyVersion: { + groupId: io.quarkiverse.githubaction, + artifactId: '*', + newVersion: 2.x + } +- org.openrewrite.maven.UpgradeDependencyVersion: { + groupId: io.quarkiverse.hibernatesearchextras, + artifactId: '*', + newVersion: 2.x + } +- org.openrewrite.maven.UpgradeDependencyVersion: { + groupId: io.quarkiverse.jackson-jq, + artifactId: '*', + newVersion: 2.x + } +- org.openrewrite.maven.UpgradeDependencyVersion: { + groupId: io.quarkiverse.jdbc, + artifactId: '*', + newVersion: 3.x + } +- org.openrewrite.maven.UpgradeDependencyVersion: { + groupId: io.quarkiverse.microprofile, + artifactId: '*', + newVersion: 3.x + } +- org.openrewrite.maven.UpgradeDependencyVersion: { + groupId: io.quarkiverse.minio, + artifactId: '*', + newVersion: 3.x + } +- org.openrewrite.maven.UpgradeDependencyVersion: { + groupId: io.quarkiverse.pact, + artifactId: '*', + newVersion: 1.x + } +- org.openrewrite.maven.UpgradeDependencyVersion: { + groupId: io.quarkiverse.poi, + artifactId: '*', + newVersion: 2.x + } +- org.openrewrite.maven.UpgradeDependencyVersion: { + groupId: io.quarkiverse.primefaces, + artifactId: '*', + newVersion: 3.x + } +- org.openrewrite.maven.UpgradeDependencyVersion: { + groupId: io.quarkiverse.reactivemessaging.http, + artifactId: '*', + newVersion: 2.x + } +- org.openrewrite.maven.UpgradeDependencyVersion: { + groupId: io.quarkiverse.renarde, + artifactId: '*', + newVersion: 3.x + } +- org.openrewrite.maven.UpgradeDependencyVersion: { + groupId: io.quarkiverse.shardingsphere, + artifactId: '*', + newVersion: 2.x + } +--- +type: specs.openrewrite.org/v1beta/recipe +name: org.openrewrite.java.migrate.jakarta.JavaxActivationMigrationToJakartaActivation +displayName: Migrate deprecated `javax.activation` packages to `jakarta.activation` +description: Java EE has been rebranded to Jakarta EE, necessitating a package relocation. +tags: [ + activation, + javax, + jakarta +] +recipeList: +- org.openrewrite.maven.UpgradeDependencyVersion: { + groupId: jakarta.activation, + artifactId: jakarta.activation-api, + newVersion: 2.x + } +- org.openrewrite.java.ChangePackage: { + oldPackageName: javax.activation, + newPackageName: jakarta.activation, + recursive: true + } +- org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: { + oldGroupId: javax.activation, + oldArtifactId: javax.activation-api, + newGroupId: jakarta.activation, + newArtifactId: jakarta.activation-api, + newVersion: 2.x + } +--- +type: specs.openrewrite.org/v1beta/recipe +name: org.openrewrite.java.migrate.jakarta.JavaxAnnotationMigrationToJakartaAnnotation +displayName: Migrate deprecated `javax.annotation` packages to `jakarta.annotation` +description: Java EE has been rebranded to Jakarta EE, necessitating a package relocation. +tags: [ + annotation, + javax, + jakarta +] +recipeList: +- org.openrewrite.maven.UpgradeDependencyVersion: { + groupId: jakarta.annotation, + artifactId: jakarta.annotation-api, + newVersion: 2.x + } +- org.openrewrite.java.migrate.jakarta.ChangeJavaxAnnotationToJakarta +- org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: { + oldGroupId: javax.annotation, + oldArtifactId: javax.annotation-api, + newGroupId: jakarta.annotation, + newArtifactId: jakarta.annotation-api, + newVersion: 2.x + } +--- +type: specs.openrewrite.org/v1beta/recipe +name: org.openrewrite.java.migrate.jakarta.ChangeJavaxAnnotationToJakarta +displayName: Migrate deprecated `javax.annotation` packages to `jakarta.annotation` +description: Java EE has been rebranded to Jakarta EE, necessitating a package relocation. + Excludes `javax.annotation.processing`. +tags: [ + batch, + javax, + jakarta +] +recipeList: [ + org.openrewrite.java.migrate.jakarta.JavaxAnnotationPackageToJakarta, + org.openrewrite.java.migrate.jakarta.JavaxAnnotationSecurityPackageToJakarta, + org.openrewrite.java.migrate.jakarta.JavaxAnnotationSqlPackageToJakarta +] +--- +type: specs.openrewrite.org/v1beta/recipe +name: org.openrewrite.java.migrate.jakarta.JavaxAnnotationPackageToJakarta +displayName: Migrate deprecated `javax.annotation` packages to `jakarta.annotation` +description: Change type of classes in the `javax.annotation` package to jakarta. +tags: [ + batch, + javax, + jakarta +] +recipeList: +- org.openrewrite.java.ChangeType: { + oldFullyQualifiedTypeName: javax.annotation.Generated, + newFullyQualifiedTypeName: jakarta.annotation.Generated + } +- org.openrewrite.java.ChangeType: { + oldFullyQualifiedTypeName: javax.annotation.ManagedBean, + newFullyQualifiedTypeName: jakarta.annotation.ManagedBean + } +- org.openrewrite.java.ChangeType: { + oldFullyQualifiedTypeName: javax.annotation.PostConstruct, + newFullyQualifiedTypeName: jakarta.annotation.PostConstruct + } +- org.openrewrite.java.ChangeType: { + oldFullyQualifiedTypeName: javax.annotation.PreDestroy, + newFullyQualifiedTypeName: jakarta.annotation.PreDestroy + } +- org.openrewrite.java.ChangeType: { + oldFullyQualifiedTypeName: javax.annotation.Priority, + newFullyQualifiedTypeName: jakarta.annotation.Priority + } +- org.openrewrite.java.ChangeType: { + oldFullyQualifiedTypeName: javax.annotation.Resource, + newFullyQualifiedTypeName: jakarta.annotation.Resource + } +- org.openrewrite.java.ChangeType: { + oldFullyQualifiedTypeName: javax.annotation.Resources, + newFullyQualifiedTypeName: jakarta.annotation.Resources + } +--- +type: specs.openrewrite.org/v1beta/recipe +name: org.openrewrite.java.migrate.jakarta.JavaxAnnotationSecurityPackageToJakarta +displayName: Migrate deprecated `javax.annotation.security` packages to `jakarta.annotation.security` +description: Change type of classes in the `javax.annotation.security` package to + jakarta. +tags: [ + batch, + javax, + jakarta +] +recipeList: +- org.openrewrite.java.ChangeType: { + oldFullyQualifiedTypeName: javax.annotation.security.DeclareRoles, + newFullyQualifiedTypeName: jakarta.annotation.security.DeclareRoles + } +- org.openrewrite.java.ChangeType: { + oldFullyQualifiedTypeName: javax.annotation.security.DenyAll, + newFullyQualifiedTypeName: jakarta.annotation.security.DenyAll + } +- org.openrewrite.java.ChangeType: { + oldFullyQualifiedTypeName: javax.annotation.security.PermitAll, + newFullyQualifiedTypeName: jakarta.annotation.security.PermitAll + } +- org.openrewrite.java.ChangeType: { + oldFullyQualifiedTypeName: javax.annotation.security.RolesAllowed, + newFullyQualifiedTypeName: jakarta.annotation.security.RolesAllowed + } +- org.openrewrite.java.ChangeType: { + oldFullyQualifiedTypeName: javax.annotation.security.RunAs, + newFullyQualifiedTypeName: jakarta.annotation.security.RunAs + } +--- +type: specs.openrewrite.org/v1beta/recipe +name: org.openrewrite.java.migrate.jakarta.JavaxAnnotationSqlPackageToJakarta +displayName: Migrate deprecated `javax.annotation.sql` packages to `jakarta.annotation.sql` +description: Change type of classes in the `javax.annotation.sql` package to jakarta. +tags: [ + batch, + javax, + jakarta +] +recipeList: +- org.openrewrite.java.ChangeType: { + oldFullyQualifiedTypeName: javax.annotation.sql.DataSourceDefinition, + newFullyQualifiedTypeName: jakarta.annotation.sql.DataSourceDefinition + } +- org.openrewrite.java.ChangeType: { + oldFullyQualifiedTypeName: javax.annotation.sql.DataSourceDefinitions, + newFullyQualifiedTypeName: jakarta.annotation.sql.DataSourceDefinitions + } +--- +type: specs.openrewrite.org/v1beta/recipe +name: org.openrewrite.java.migrate.jakarta.JavaxAuthenticationMigrationToJakartaAuthentication +displayName: Migrate deprecated `javax.security.auth.message` packages to `jakarta.security.auth.message` +description: Java EE has been rebranded to Jakarta EE, necessitating a package relocation. +tags: [ + authentication, + security, + javax, + jakarta +] +recipeList: +- org.openrewrite.maven.UpgradeDependencyVersion: { + groupId: jakarta.authorization, + artifactId: jakarta.authorization-api, + newVersion: 2.x + } +- org.openrewrite.maven.UpgradeDependencyVersion: { + groupId: jakarta.authentication, + artifactId: jakarta.authentication-api, + newVersion: 2.x + } +- org.openrewrite.java.ChangePackage: { + oldPackageName: javax.security.auth.message, + newPackageName: jakarta.security.auth.message, + recursive: true + } +- org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: { + oldGroupId: javax.security.auth.message, + oldArtifactId: javax.security.auth.message-api, + newGroupId: jakarta.authentication, + newArtifactId: jakarta.authentication-api, + newVersion: 2.x + } +--- +type: specs.openrewrite.org/v1beta/recipe +name: org.openrewrite.java.migrate.jakarta.JavaxAuthorizationMigrationToJakartaAuthorization +displayName: Migrate deprecated `javax.security.jacc` packages to `jakarta.security.jacc` +description: Java EE has been rebranded to Jakarta EE, necessitating a package relocation. +tags: [ + authorization, + security, + javax, + jakarta +] +recipeList: +- org.openrewrite.maven.UpgradeDependencyVersion: { + groupId: jakarta.authorization, + artifactId: jakarta.authorization-api, + newVersion: 2.x + } +- org.openrewrite.java.ChangePackage: { + oldPackageName: javax.security.jacc, + newPackageName: jakarta.security.jacc, + recursive: true + } +- org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: { + oldGroupId: javax.security.jacc, + oldArtifactId: javax.security.jacc-api, + newGroupId: jakarta.authorization, + newArtifactId: jakarta.authorization-api, + newVersion: 2.x + } +--- +type: specs.openrewrite.org/v1beta/recipe +name: org.openrewrite.java.migrate.jakarta.JavaxBatchMigrationToJakartaBatch +displayName: Migrate deprecated `javax.batch` packages to `jakarta.batch` +description: Java EE has been rebranded to Jakarta EE, necessitating a package relocation. +tags: [ + batch, + javax, + jakarta +] +recipeList: +- org.openrewrite.maven.UpgradeDependencyVersion: { + groupId: jakarta.batch, + artifactId: jakarta.batch-api, + newVersion: 2.x + } +- org.openrewrite.java.ChangePackage: { + oldPackageName: javax.batch, + newPackageName: jakarta.batch, + recursive: true + } +- org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: { + oldGroupId: javax.batch, + oldArtifactId: javax.batch-api, + newGroupId: jakarta.batch, + newArtifactId: jakarta.batch-api, + newVersion: 2.x + } +--- +type: specs.openrewrite.org/v1beta/recipe +name: org.openrewrite.java.migrate.jakarta.JavaxValidationMigrationToJakartaValidation +displayName: Migrate deprecated `javax.validation` packages to `jakarta.validation` +description: Java EE has been rebranded to Jakarta EE, necessitating a package relocation. +tags: [ + validation, + javax, + jakarta +] +recipeList: +- org.openrewrite.maven.UpgradeDependencyVersion: { + groupId: jakarta.validation, + artifactId: jakarta.validation-api, + newVersion: 3.x + } +- org.openrewrite.java.ChangePackage: { + oldPackageName: javax.validation, + newPackageName: jakarta.validation, + recursive: true + } +- org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: { + oldGroupId: javax.validation, + oldArtifactId: validation-api, + newGroupId: jakarta.validation, + newArtifactId: jakarta.validation-api, + newVersion: 3.x + } +--- +type: specs.openrewrite.org/v1beta/recipe +name: org.openrewrite.java.migrate.jakarta.JavaxDecoratorToJakartaDecorator +displayName: Migrate deprecated `javax.decorator` packages to `jakarta.decorator` +description: Java EE has been rebranded to Jakarta EE, necessitating a package relocation. +recipeList: +- org.openrewrite.maven.UpgradeDependencyVersion: { + groupId: jakarta.enterprise, + artifactId: jakarta.enterprise.cdi-api, + newVersion: 4.x + } +- org.openrewrite.java.ChangePackage: { + oldPackageName: javax.decorator, + newPackageName: jakarta.decorator, + recursive: true + } +- org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: { + oldGroupId: javax.enterprise, + oldArtifactId: cdi-api, + newGroupId: jakarta.enterprise, + newArtifactId: jakarta.enterprise.cdi-api, + newVersion: 4.x + } +--- +type: specs.openrewrite.org/v1beta/recipe +name: org.openrewrite.java.migrate.jakarta.JavaxEjbToJakartaEjb +displayName: Migrate deprecated `javax.ejb` packages to `jakarta.ejb` +description: Java EE has been rebranded to Jakarta EE, necessitating a package relocation. +recipeList: +- org.openrewrite.maven.UpgradeDependencyVersion: { + groupId: jakarta.ejb, + artifactId: jakarta.ejb-api, + newVersion: 4.x + } +- org.openrewrite.java.ChangePackage: { + oldPackageName: javax.ejb, + newPackageName: jakarta.ejb, + recursive: true + } +- org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: { + oldGroupId: javax.ejb, + oldArtifactId: javax.ejb-api, + newGroupId: jakarta.ejb, + newArtifactId: jakarta.ejb-api, + newVersion: 4.x + } +--- +type: specs.openrewrite.org/v1beta/recipe +name: org.openrewrite.java.migrate.jakarta.JavaxElToJakartaEl +displayName: Migrate deprecated `javax.el` packages to `jakarta.el` +description: Java EE has been rebranded to Jakarta EE, necessitating a package relocation. +recipeList: +- org.openrewrite.maven.UpgradeDependencyVersion: { + groupId: jakarta.el, + artifactId: jakarta.el-api, + newVersion: 4.x + } +- org.openrewrite.java.ChangePackage: { + oldPackageName: javax.el, + newPackageName: jakarta.el, + recursive: true + } +- org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: { + oldGroupId: javax.el, + oldArtifactId: javax.el-api, + newGroupId: jakarta.el, + newArtifactId: jakarta.el-api, + newVersion: 4.x + } +--- +type: specs.openrewrite.org/v1beta/recipe +name: org.openrewrite.java.migrate.jakarta.JavaxEnterpriseToJakartaEnterprise +displayName: Migrate deprecated `javax.enterprise` packages to `jakarta.enterprise` +description: Java EE has been rebranded to Jakarta EE, necessitating a package relocation. +recipeList: +- org.openrewrite.maven.UpgradeDependencyVersion: { + groupId: jakarta.enterprise, + artifactId: jakarta.enterprise.cdi-api, + newVersion: 4.x + } +- org.openrewrite.java.ChangePackage: { + oldPackageName: javax.enterprise, + newPackageName: jakarta.enterprise, + recursive: true + } +- org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: { + oldGroupId: javax.enterprise, + oldArtifactId: cdi-api, + newGroupId: jakarta.enterprise, + newArtifactId: jakarta.enterprise.cdi-api, + newVersion: 4.x + } +--- +type: specs.openrewrite.org/v1beta/recipe +name: org.openrewrite.java.migrate.jakarta.JavaxFacesToJakartaFaces +displayName: Migrate deprecated `javax.faces` packages to `jakarta.faces` +description: Java EE has been rebranded to Jakarta EE, necessitating a package relocation. +recipeList: +- org.openrewrite.maven.UpgradeDependencyVersion: { + groupId: jakarta.faces, + artifactId: jakarta.faces-api, + newVersion: 4.x + } +- org.openrewrite.java.ChangePackage: { + oldPackageName: javax.faces, + newPackageName: jakarta.faces, + recursive: true + } +- org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: { + oldGroupId: javax.faces, + oldArtifactId: javax.faces-api, + newGroupId: jakarta.faces, + newArtifactId: jakarta.faces-api, + newVersion: 4.x + } +- org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: { + groupId: org.glassfish, + artifactId: javax.faces, + newGroupId: org.glassfish, + newArtifactId: jakarta.faces, + newVersion: 4.x + } +--- +type: specs.openrewrite.org/v1beta/recipe +name: org.openrewrite.java.migrate.jakarta.JavaxInjectMigrationToJakartaInject +displayName: Migrate deprecated `javax.inject` packages to `jakarta.inject` +description: Java EE has been rebranded to Jakarta EE, necessitating a package relocation. +tags: [ + inject, + javax, + jakarta +] +recipeList: +- org.openrewrite.maven.UpgradeDependencyVersion: { + groupId: jakarta.inject, + artifactId: jakarta.inject-api, + newVersion: 2.x + } +- org.openrewrite.java.ChangePackage: { + oldPackageName: javax.inject, + newPackageName: jakarta.inject, + recursive: true + } +- org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: { + oldGroupId: javax.inject, + oldArtifactId: javax.inject-api, + newGroupId: jakarta.inject, + newArtifactId: jakarta.inject-api, + newVersion: 2.x + } +--- +type: specs.openrewrite.org/v1beta/recipe +name: org.openrewrite.java.migrate.jakarta.JavaxInterceptorToJakartaInterceptor +displayName: Migrate deprecated `javax.interceptor` packages to `jakarta.interceptor` +description: Java EE has been rebranded to Jakarta EE, necessitating a package relocation. +recipeList: +- org.openrewrite.maven.UpgradeDependencyVersion: { + groupId: jakarta.interceptor, + artifactId: jakarta.interceptor-api, + newVersion: 2.x + } +- org.openrewrite.java.ChangePackage: { + oldPackageName: javax.interceptor, + newPackageName: jakarta.interceptor, + recursive: true + } +- org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: { + oldGroupId: javax.interceptor, + oldArtifactId: javax.interceptor-api, + newGroupId: jakarta.interceptor, + newArtifactId: jakarta.interceptor-api, + newVersion: 2.x + } +--- +type: specs.openrewrite.org/v1beta/recipe +name: org.openrewrite.java.migrate.jakarta.JavaxJmsToJakartaJms +displayName: Migrate deprecated `javax.jms` packages to `jakarta.jms` +description: Java EE has been rebranded to Jakarta EE, necessitating a package relocation. +recipeList: +- org.openrewrite.maven.UpgradeDependencyVersion: { + groupId: jakarta.jms, + artifactId: jakarta.jms-api, + newVersion: 3.x + } +- org.openrewrite.java.ChangePackage: { + oldPackageName: javax.jms, + newPackageName: jakarta.jms, + recursive: true + } +- org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: { + oldGroupId: javax.jms, + oldArtifactId: javax.jms-api, + newGroupId: jakarta.jms, + newArtifactId: jakarta.jms-api, + newVersion: 3.x + } +--- +type: specs.openrewrite.org/v1beta/recipe +name: org.openrewrite.java.migrate.jakarta.JavaxJsonToJakartaJson +displayName: Migrate deprecated `javax.json` packages to `jakarta.json` +description: Java EE has been rebranded to Jakarta EE, necessitating a package relocation. +recipeList: +- org.openrewrite.maven.UpgradeDependencyVersion: { + groupId: jakarta.json, + artifactId: jakarta.json-api, + newVersion: 2.x + } +- org.openrewrite.java.ChangePackage: { + oldPackageName: javax.json, + newPackageName: jakarta.json, + recursive: true + } +- org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: { + oldGroupId: javax.json, + oldArtifactId: javax.json-api, + newGroupId: jakarta.json, + newArtifactId: jakarta.json-api, + newVersion: 2.x + } +--- +type: specs.openrewrite.org/v1beta/recipe +name: org.openrewrite.java.migrate.jakarta.JavaxJwsToJakartaJws +displayName: Migrate deprecated `javax.jws` packages to `jakarta.jws` +description: Java EE has been rebranded to Jakarta EE, necessitating a package relocation. +recipeList: +- org.openrewrite.maven.UpgradeDependencyVersion: { + groupId: jakarta.jws, + artifactId: jakarta.jws-api, + newVersion: 3.x + } +- org.openrewrite.java.ChangePackage: { + oldPackageName: javax.jws, + newPackageName: jakarta.jws, + recursive: true + } +- org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: { + oldGroupId: javax.jws, + oldArtifactId: javax.jws-api, + newGroupId: jakarta.jws, + newArtifactId: jakarta.jws-api, + newVersion: 3.x + } +--- +type: specs.openrewrite.org/v1beta/recipe +name: org.openrewrite.java.migrate.jakarta.JavaxMailToJakartaMail +displayName: Migrate deprecated `javax.mail` packages to `jakarta.mail` +description: Java EE has been rebranded to Jakarta EE, necessitating a package relocation. +recipeList: +- org.openrewrite.maven.UpgradeDependencyVersion: { + groupId: jakarta.mail, + artifactId: jakarta.mail-api, + newVersion: 2.x + } +- org.openrewrite.java.ChangePackage: { + oldPackageName: javax.mail, + newPackageName: jakarta.mail, + recursive: true + } +- org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: { + oldGroupId: javax.mail, + oldArtifactId: javax.mail-api, + newGroupId: jakarta.mail, + newArtifactId: jakarta.mail-api, + newVersion: 2.x + } +--- +type: specs.openrewrite.org/v1beta/recipe +name: org.openrewrite.java.migrate.jakarta.JavaxPersistenceToJakartaPersistence +displayName: Migrate deprecated `javax.persistence` packages to `jakarta.persistence` +description: Java EE has been rebranded to Jakarta EE, necessitating a package relocation +recipeList: +- org.openrewrite.maven.UpgradeDependencyVersion: { + groupId: jakarta.persistence, + artifactId: jakarta.persistence-api, + newVersion: 3.0.x + } +- org.openrewrite.java.ChangePackage: { + oldPackageName: javax.persistence, + newPackageName: jakarta.persistence, + recursive: true + } +- org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: { + oldGroupId: javax.persistence, + oldArtifactId: javax.persistence, + newGroupId: jakarta.persistence, + newArtifactId: jakarta.persistence-api, + newVersion: 3.0.x + } +--- +type: specs.openrewrite.org/v1beta/recipe +name: org.openrewrite.java.migrate.jakarta.JavaxResourceToJakartaResource +displayName: Migrate deprecated `javax.resource` packages to `jakarta.resource` +description: Java EE has been rebranded to Jakarta EE, necessitating a package relocation. +recipeList: +- org.openrewrite.maven.UpgradeDependencyVersion: { + groupId: jakarta.resource, + artifactId: jakarta.resource-api, + newVersion: 2.x + } +- org.openrewrite.java.ChangePackage: { + oldPackageName: javax.resource, + newPackageName: jakarta.resource, + recursive: true + } +- org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: { + oldGroupId: javax.resource, + oldArtifactId: javax.resource-api, + newGroupId: jakarta.resource, + newArtifactId: jakarta.resource-api, + newVersion: 2.x + } +--- +type: specs.openrewrite.org/v1beta/recipe +name: org.openrewrite.java.migrate.jakarta.JavaxSecurityToJakartaSecurity +displayName: Migrate deprecated `javax.security.enterprise` packages to `jakarta.security.enterprise` +description: Java EE has been rebranded to Jakarta EE, necessitating a package relocation. +recipeList: +- org.openrewrite.maven.UpgradeDependencyVersion: { + groupId: jakarta.security.enterprise, + artifactId: jakarta.security.enterprise-api, + newVersion: 3.x + } +- org.openrewrite.java.ChangePackage: { + oldPackageName: javax.security.enterprise, + newPackageName: jakarta.security.enterprise, + recursive: true + } +- org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: { + oldGroupId: javax.security.enterprise, + oldArtifactId: javax.security.enterprise-api, + newGroupId: jakarta.security.enterprise, + newArtifactId: jakarta.security.enterprise-api, + newVersion: 3.x + } +--- +type: specs.openrewrite.org/v1beta/recipe +name: org.openrewrite.java.migrate.jakarta.JavaxServletToJakartaServlet +displayName: Migrate deprecated `javax.servlet` packages to `jakarta.servlet` +description: Java EE has been rebranded to Jakarta EE, necessitating a package relocation. +recipeList: +- org.openrewrite.maven.UpgradeDependencyVersion: { + groupId: jakarta.servlet, + artifactId: jakarta.servlet-api, + newVersion: 6.x + } +- org.openrewrite.java.ChangePackage: { + oldPackageName: javax.servlet, + newPackageName: jakarta.servlet, + recursive: true + } +- org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: { + oldGroupId: javax.servlet, + oldArtifactId: javax.servlet-api, + newGroupId: jakarta.servlet, + newArtifactId: jakarta.servlet-api, + newVersion: 6.x + } +--- +type: specs.openrewrite.org/v1beta/recipe +name: org.openrewrite.java.migrate.jakarta.JavaxTransactionMigrationToJakartaTransaction +displayName: Migrate deprecated `javax.transaction` packages to `jakarta.transaction` +description: Java EE has been rebranded to Jakarta EE, necessitating a package relocation. +tags: [ + transaction, + javax, + jakarta +] +recipeList: +- org.openrewrite.maven.UpgradeDependencyVersion: { + groupId: jakarta.transaction, + artifactId: jakarta.transaction-api, + newVersion: 2.x + } +- org.openrewrite.java.ChangePackage: { + oldPackageName: javax.transaction, + newPackageName: jakarta.transaction, + recursive: true + } +- org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: { + oldGroupId: javax.transaction, + oldArtifactId: javax.transaction-api, + newGroupId: jakarta.transaction, + newArtifactId: jakarta.transaction-api, + newVersion: 2.x + } +--- +type: specs.openrewrite.org/v1beta/recipe +name: org.openrewrite.java.migrate.jakarta.JavaxWebsocketToJakartaWebsocket +displayName: Migrate deprecated `javax.websocket` packages to `jakarta.websocket` +description: Java EE has been rebranded to Jakarta EE, necessitating a package relocation. +recipeList: +- org.openrewrite.maven.UpgradeDependencyVersion: { + groupId: jakarta.websocket, + artifactId: jakarta.websocket-api, + newVersion: 2.x + } +- org.openrewrite.java.ChangePackage: { + oldPackageName: javax.websocket, + newPackageName: jakarta.websocket, + recursive: true + } +- org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: { + oldGroupId: javax.websocket, + oldArtifactId: javax.websocket-api, + newGroupId: jakarta.websocket, + newArtifactId: jakarta.websocket-api, + newVersion: 2.x + } +--- +type: specs.openrewrite.org/v1beta/recipe +name: org.openrewrite.java.migrate.jakarta.JavaxWsToJakartaWs +displayName: Migrate deprecated `javax.ws` packages to `jakarta.ws` +description: Java EE has been rebranded to Jakarta EE, necessitating a package relocation. +recipeList: +- org.openrewrite.maven.UpgradeDependencyVersion: { + groupId: jakarta.ws.rs, + artifactId: jakarta.ws.rs-api, + newVersion: 3.x + } +- org.openrewrite.java.ChangePackage: { + oldPackageName: javax.ws, + newPackageName: jakarta.ws, + recursive: true + } +- org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: { + oldGroupId: javax.ws.rs, + oldArtifactId: javax.ws.rs-api, + newGroupId: jakarta.ws.rs, + newArtifactId: jakarta.ws.rs-api, + newVersion: 3.x + } +--- +type: specs.openrewrite.org/v1beta/recipe +name: org.openrewrite.java.migrate.jakarta.JavaxXmlBindMigrationToJakartaXmlBind +displayName: Migrate deprecated `javax.xml.bind` packages to `jakarta.xml.bind` +description: Java EE has been rebranded to Jakarta EE, necessitating a package relocation. +tags: [ + jaxb, + javax, + jakarta +] +recipeList: +- org.openrewrite.maven.UpgradeDependencyVersion: { + groupId: jakarta.xml.bind, + artifactId: jakarta.xml.bind-api, + newVersion: 4.x + } +- org.openrewrite.maven.UpgradeDependencyVersion: { + groupId: org.glassfish.jaxb, + artifactId: jaxb-runtime, + newVersion: 4.x + } +- org.openrewrite.java.ChangePackage: { + oldPackageName: javax.xml.bind, + newPackageName: jakarta.xml.bind, + recursive: true + } +- org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: { + oldGroupId: javax.xml.bind, + oldArtifactId: jaxb-api, + newGroupId: jakarta.xml.bind, + newArtifactId: jakarta.xml.bind-api, + newVersion: 4.x + } +- org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: { + oldGroupId: com.sun.xml.bind, + oldArtifactId: jaxb-impl, + newGroupId: org.glassfish.jaxb, + newArtifactId: jaxb-runtime, + newVersion: 4.x + } +--- +type: specs.openrewrite.org/v1beta/recipe +name: org.openrewrite.java.migrate.jakarta.JavaxXmlSoapToJakartaXmlSoap +displayName: Migrate deprecated `javax.soap` packages to `jakarta.soap` +description: Java EE has been rebranded to Jakarta EE, necessitating a package relocation. +recipeList: +- org.openrewrite.maven.UpgradeDependencyVersion: { + groupId: jakarta.xml.soap, + artifactId: jakarta.xml.soap-api, + newVersion: 3.x + } +- org.openrewrite.java.ChangePackage: { + oldPackageName: javax.xml.soap, + newPackageName: jakarta.xml.soap, + recursive: true + } +- org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: { + oldGroupId: javax.xml.soap, + oldArtifactId: javax.xml.soap-api, + newGroupId: jakarta.xml.soap, + newArtifactId: jakarta.xml.soap-api, + newVersion: 3.x + } +--- +type: specs.openrewrite.org/v1beta/recipe +name: org.openrewrite.java.migrate.jakarta.JavaxXmlWsMigrationToJakartaXmlWs +displayName: Migrate deprecated `javax.xml.ws` packages to `jakarta.xml.ws` +description: Java EE has been rebranded to Jakarta EE, necessitating a package relocation. +tags: [ + jaxws, + javax, + jakarta +] +recipeList: +- org.openrewrite.maven.UpgradeDependencyVersion: { + groupId: jakarta.xml.ws, + artifactId: jakarta.xml.ws-api, + newVersion: 4.x + } +- org.openrewrite.java.ChangePackage: { + oldPackageName: javax.xml.ws, + newPackageName: jakarta.xml.ws, + recursive: true + } +- org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: { + oldGroupId: javax.xml.ws, + oldArtifactId: jaxws-api, + newGroupId: jakarta.xml.ws, + newArtifactId: jakarta.xml.ws-api, + newVersion: 4.x + } +--- +type: specs.openrewrite.org/v1beta/recipe +name: org.openrewrite.java.migrate.jakarta.JavaxPersistenceXmlToJakartaPersistenceXml +displayName: Migrate xmlns entries in `persistence.xml` files +description: Java EE has been rebranded to Jakarta EE, necessitating an XML namespace + relocation. +recipeList: +- org.openrewrite.xml.ChangeTagAttribute: { + attributeName: name, + elementName: //property, + oldValue: javax.persistence, + newValue: jakarta.persistence, + fileMatcher: '**/persistence.xml' + } +- org.openrewrite.xml.ChangeTagAttribute: { + attributeName: version, + elementName: persistence, + newValue: 3.0, + fileMatcher: '**/persistence.xml' + } +- org.openrewrite.xml.ChangeTagAttribute: { + attributeName: xmlns, + elementName: persistence, + oldValue: 'http://xmlns.jcp.org', + newValue: 'https://jakarta.ee', + fileMatcher: '**/persistence.xml' + } +- org.openrewrite.xml.ChangeTagAttribute: { + attributeName: 'xsi:schemaLocation', + elementName: persistence, + newValue: 'https://jakarta.ee/xml/ns/persistence https://jakarta.ee/xml/ns/persistence/persistence_3_0.xsd', + fileMatcher: '**/persistence.xml' + } +--- +type: specs.openrewrite.org/v1beta/recipe +name: org.openrewrite.java.migrate.jakarta.JacksonJavaxToJakarta +displayName: Migrate Jackson from javax to jakarta namespace +description: | + Java EE has been rebranded to Jakarta EE. This recipe replaces existing Jackson dependencies with their counterparts that are compatible with Jakarta EE. +recipeList: +- org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: { + oldGroupId: com.fasterxml.jackson.module, + oldArtifactId: jackson-module-jaxb-annotations, + newGroupId: com.fasterxml.jackson.module, + newArtifactId: jackson-module-jakarta-xmlbind-annotations + } +- org.openrewrite.maven.ChangeManagedDependencyGroupIdAndArtifactId: { + oldGroupId: com.fasterxml.jackson.module, + oldArtifactId: jackson-module-jaxb-annotations, + newGroupId: com.fasterxml.jackson.module, + newArtifactId: jackson-module-jakarta-xmlbind-annotations + } +- org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: { + oldGroupId: com.fasterxml.jackson.jaxrs, + oldArtifactId: jackson-jaxrs-cbor-provider, + newGroupId: com.fasterxml.jackson.jakarta.rs, + newArtifactId: jackson-jakarta-rs-cbor-provider + } +- org.openrewrite.maven.ChangeManagedDependencyGroupIdAndArtifactId: { + oldGroupId: com.fasterxml.jackson.jaxrs, + oldArtifactId: jackson-jaxrs-cbor-provider, + newGroupId: com.fasterxml.jackson.jakarta.rs, + newArtifactId: jackson-jakarta-rs-cbor-provider + } +- org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: { + oldGroupId: com.fasterxml.jackson.jaxrs, + oldArtifactId: jackson-jaxrs-json-provider, + newGroupId: com.fasterxml.jackson.jakarta.rs, + newArtifactId: jackson-jakarta-rs-json-provider + } +- org.openrewrite.maven.ChangeManagedDependencyGroupIdAndArtifactId: { + oldGroupId: com.fasterxml.jackson.jaxrs, + oldArtifactId: jackson-jaxrs-json-provider, + newGroupId: com.fasterxml.jackson.jakarta.rs, + newArtifactId: jackson-jakarta-rs-json-provider + } +- org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: { + oldGroupId: com.fasterxml.jackson.jaxrs, + oldArtifactId: jackson-jaxrs-smile-provider, + newGroupId: com.fasterxml.jackson.jakarta.rs, + newArtifactId: jackson-jakarta-rs-smile-provider + } +- org.openrewrite.maven.ChangeManagedDependencyGroupIdAndArtifactId: { + oldGroupId: com.fasterxml.jackson.jaxrs, + oldArtifactId: jackson-jaxrs-smile-provider, + newGroupId: com.fasterxml.jackson.jakarta.rs, + newArtifactId: jackson-jakarta-rs-smile-provider + } +- org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: { + oldGroupId: com.fasterxml.jackson.jaxrs, + oldArtifactId: jackson-jaxrs-xml-provider, + newGroupId: com.fasterxml.jackson.jakarta.rs, + newArtifactId: jackson-jakarta-rs-xml-provider + } +- org.openrewrite.maven.ChangeManagedDependencyGroupIdAndArtifactId: { + oldGroupId: com.fasterxml.jackson.jaxrs, + oldArtifactId: jackson-jaxrs-xml-provider, + newGroupId: com.fasterxml.jackson.jakarta.rs, + newArtifactId: jackson-jakarta-rs-xml-provider + } +- org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: { + oldGroupId: com.fasterxml.jackson.jaxrs, + oldArtifactId: jackson-jaxrs-yaml-provider, + newGroupId: com.fasterxml.jackson.jakarta.rs, + newArtifactId: jackson-jakarta-rs-yaml-provider + } +- org.openrewrite.maven.ChangeManagedDependencyGroupIdAndArtifactId: { + oldGroupId: com.fasterxml.jackson.jaxrs, + oldArtifactId: jackson-jaxrs-yaml-provider, + newGroupId: com.fasterxml.jackson.jakarta.rs, + newArtifactId: jackson-jakarta-rs-yaml-provider + } +- org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: { + oldGroupId: com.fasterxml.jackson.datatype, + oldArtifactId: jackson-datatype-jsr353, + newGroupId: com.fasterxml.jackson.datatype, + newArtifactId: jackson-datatype-jakarta-jsonp + } +- org.openrewrite.maven.ChangeManagedDependencyGroupIdAndArtifactId: { + oldGroupId: com.fasterxml.jackson.datatype, + oldArtifactId: jackson-datatype-jsr353, + newGroupId: com.fasterxml.jackson.datatype, + newArtifactId: jackson-datatype-jakarta-jsonp + } +- org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: { + oldGroupId: org.glassfish, + oldArtifactId: javax.json, + newGroupId: org.eclipse.parsson, + newArtifactId: parsson + } +- org.openrewrite.maven.ChangeManagedDependencyGroupIdAndArtifactId: { + oldGroupId: org.glassfish, + oldArtifactId: javax.json, + newGroupId: org.eclipse.parsson, + newArtifactId: parsson + } +- org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: { + oldGroupId: org.glassfish, + oldArtifactId: jakarta.json, + newGroupId: org.eclipse.parsson, + newArtifactId: parsson + } +- org.openrewrite.maven.ChangeManagedDependencyGroupIdAndArtifactId: { + oldGroupId: org.glassfish, + oldArtifactId: jakarta.json, + newGroupId: org.eclipse.parsson, + newArtifactId: parsson + } +- org.openrewrite.java.ChangeType: { + oldFullyQualifiedTypeName: com.fasterxml.jackson.datatype.jsr353.JSR353Module, + newFullyQualifiedTypeName: com.fasterxml.jackson.datatype.jsonp.JSONPModule + } +- org.openrewrite.java.ChangePackage: { + oldPackageName: com.fasterxml.jackson.jaxrs, + newPackageName: com.fasterxml.jackson.jakarta.rs, + recursive: true + } +--- +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 +description: | + Java EE has been rebranded to Jakarta EE. This recipe replaces existing RestAssured dependencies with their counterparts that are compatible with Jakarta EE. +recipeList: +- org.openrewrite.maven.UpgradeDependencyVersion: { + groupId: io.rest-assured, + artifactId: '*', + newVersion: 5.x + } +--- +type: specs.openrewrite.org/v1beta/recipe +name: io.quarkus.updates.core.quarkus30.JavaxToJakartaAdditionalMigration +recipeList: +- org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: { + oldGroupId: org.glassfish, + oldArtifactId: jakarta.el, + newGroupId: org.glassfish.expressly, + newArtifactId: expressly + } +- org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: { + oldGroupId: org.hibernate, + oldArtifactId: hibernate-core, + newGroupId: org.hibernate.orm, + newArtifactId: hibernate-core + } +- org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: { + oldGroupId: org.hibernate, + oldArtifactId: hibernate-envers, + newGroupId: org.hibernate.orm, + newArtifactId: hibernate-envers + } +- org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: { + oldGroupId: org.hibernate, + oldArtifactId: hibernate-jpamodelgen, + newGroupId: org.hibernate.orm, + newArtifactId: hibernate-jpamodelgen + } +- org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: { + oldGroupId: org.hibernate, + oldArtifactId: hibernate-spatial, + newGroupId: org.hibernate.orm, + newArtifactId: hibernate-spatial + } +- org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: { + oldGroupId: org.hibernate, + oldArtifactId: hibernate-testing, + newGroupId: org.hibernate.orm, + newArtifactId: hibernate-testing + } +- org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: { + oldGroupId: org.hibernate, + oldArtifactId: hibernate-micrometer, + newGroupId: org.hibernate.orm, + newArtifactId: hibernate-micrometer + } +- org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: { + oldGroupId: org.hibernate, + oldArtifactId: hibernate-jcache, + newGroupId: org.hibernate.orm, + newArtifactId: hibernate-jcache + } +- org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: { + oldGroupId: org.hibernate, + oldArtifactId: hibernate-infinispan, + newGroupId: org.hibernate.orm, + newArtifactId: hibernate-infinispan + } +- org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: { + oldGroupId: org.hibernate, + oldArtifactId: hibernate-ehcache, + newGroupId: org.hibernate.orm, + newArtifactId: hibernate-ehcache + } +- org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: { + oldGroupId: org.hibernate.search, + oldArtifactId: hibernate-search-mapper-orm-coordination-outbox-polling, + newGroupId: org.hibernate.search, + newArtifactId: hibernate-search-mapper-orm-coordination-outbox-polling-jakarta + } +- org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: { + oldGroupId: org.hibernate.search, + oldArtifactId: hibernate-search-mapper-orm, + newGroupId: org.hibernate.search, + newArtifactId: hibernate-search-mapper-orm-jakarta + } +- org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: { + oldGroupId: org.hibernate, + oldArtifactId: quarkus-local-cache, + newGroupId: org.hibernate, + newArtifactId: quarkus-local-cache-jakarta + } +- org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: { + oldGroupId: org.jboss.spec.javax.ws.rs, + oldArtifactId: jboss-jaxrs-api_2.1_spec, + newGroupId: jakarta.ws.rs, + newArtifactId: jakarta.ws.rs-api + } +- org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: { + oldGroupId: org.jboss.spec.javax.xml.bind, + oldArtifactId: jboss-jaxb-api_2.3_spec, + newGroupId: jakarta.xml.bind, + newArtifactId: jakarta.xml.bind-api + } +- org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: { + oldGroupId: org.jboss.spec.javax.transaction, + oldArtifactId: jboss-transaction-api_1.3_spec, + newGroupId: jakarta.transaction, + newArtifactId: jakarta.transaction-api + } +- org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: { + oldGroupId: com.sun.activation, + oldArtifactId: jakarta.activation, + newGroupId: org.eclipse.angus, + newArtifactId: angus-activation + } +- org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: { + oldGroupId: com.sun.activation, + oldArtifactId: javax.activation, + newGroupId: org.eclipse.angus, + newArtifactId: angus-activation + } +- org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: { + oldGroupId: org.jboss.spec.javax.ejb, + oldArtifactId: jboss-ejb-api_3.1_spec, + newGroupId: jakarta.ejb, + newArtifactId: jakarta.ejb-api + } +- org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: { + oldGroupId: org.keycloak, + oldArtifactId: keycloak-admin-client, + newGroupId: org.keycloak, + newArtifactId: keycloak-admin-client-jakarta + } +- org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: { + oldGroupId: org.keycloak, + oldArtifactId: keycloak-admin-client, + newGroupId: org.keycloak, + newArtifactId: keycloak-admin-client-jakarta + } +--- +type: specs.openrewrite.org/v1beta/recipe +name: io.quarkus.updates.core.quarkus30.RenameJavaxServiceFiles +displayName: Rename a file example +recipeList: +- org.openrewrite.RenameFile: { + fileMatcher: '**/META-INF/services/javax.ws.rs.ext.Providers', + fileName: jakarta.ws.rs.ext.Providers + } +- org.openrewrite.RenameFile: { + fileMatcher: '**/META-INF/services/javax.ws.rs.client.ClientBuilder', + fileName: jakarta.ws.rs.client.ClientBuilder + } +- org.openrewrite.RenameFile: { + fileMatcher: '**/META-INF/services/javax.ws.rs.sse.SseEventSource$Builder', + fileName: jakarta.ws.rs.sse.SseEventSource$Builder + } +--- +type: specs.openrewrite.org/v1beta/recipe +name: io.quarkus.updates.core.quarkus30.AdditionalChanges +recipeList: +- org.openrewrite.java.ChangeType: { + oldFullyQualifiedTypeName: org.jboss.resteasy.reactive.server.core.multipart.MultipartFormDataOutput, + newFullyQualifiedTypeName: org.jboss.resteasy.reactive.server.multipart.MultipartFormDataOutput + } +- org.openrewrite.java.ChangeType: { + oldFullyQualifiedTypeName: org.jboss.resteasy.reactive.server.core.multipart.PartItem, + newFullyQualifiedTypeName: org.jboss.resteasy.reactive.server.multipart.PartItem + } +- org.openrewrite.java.ChangeType: { + oldFullyQualifiedTypeName: org.jboss.resteasy.reactive.server.core.multipart.FormData.FormValue, + newFullyQualifiedTypeName: org.jboss.resteasy.reactive.server.multipart.FormValue + } +- org.openrewrite.java.ChangeType: { + oldFullyQualifiedTypeName: io.quarkus.test.junit.NativeImageTest, + newFullyQualifiedTypeName: io.quarkus.test.junit.QuarkusIntegrationTest + } +- org.openrewrite.java.ChangeType: { + oldFullyQualifiedTypeName: io.quarkus.test.junit.DisabledOnNativeImage, + newFullyQualifiedTypeName: io.quarkus.test.junit.DisabledOnIntegrationTest + } +- org.openrewrite.java.ChangeType: { + oldFullyQualifiedTypeName: org.jboss.resteasy.reactive.MultipartForm, + newFullyQualifiedTypeName: jakarta.ws.rs.BeanParam + } +- org.openrewrite.java.ChangeType: { + oldFullyQualifiedTypeName: io.smallrye.reactive.messaging.providers.connectors.InMemoryConnector, + newFullyQualifiedTypeName: io.smallrye.reactive.messaging.memory.InMemoryConnector + } +- org.openrewrite.java.ChangeType: { + oldFullyQualifiedTypeName: io.quarkus.hibernate.reactive.panache.common.runtime.ReactiveTransactional, + newFullyQualifiedTypeName: io.quarkus.hibernate.reactive.panache.common.WithTransaction + } +- org.openrewrite.java.ChangeType: { + oldFullyQualifiedTypeName: io.quarkus.arc.Priority, + newFullyQualifiedTypeName: jakarta.annotation.Priority + } +- org.openrewrite.text.FindAndReplace: { + find: quarkus-bootstrap-maven-plugin, + replace: quarkus-extension-maven-plugin, + fileMatcher: '**/pom.xml' + } +--- +type: specs.openrewrite.org/v1beta/recipe +name: io.quarkus.updates.core.quarkus30.ApplicationProperties +applicability: + singleSource: + - org.openrewrite.FindSourceFiles: { + filePattern: '**/application*.properties' + } +recipeList: +- org.openrewrite.properties.ChangePropertyKey: { + oldPropertyKey: quarkus.kubernetes.expose, + newPropertyKey: quarkus.kubernetes.ingress.expose + } +- org.openrewrite.properties.ChangePropertyKey: { + oldPropertyKey: quarkus.openshift.expose, + newPropertyKey: quarkus.openshift.route.expose + } +- org.openrewrite.properties.ChangePropertyKey: { + oldPropertyKey: quarkus.kubernetes.host, + newPropertyKey: quarkus.kubernetes.ingress.host + } +- org.openrewrite.properties.ChangePropertyKey: { + oldPropertyKey: quarkus.openshift.host, + newPropertyKey: quarkus.openshift.route.host + } +- org.openrewrite.properties.ChangePropertyKey: { + oldPropertyKey: quarkus.kubernetes.group, + newPropertyKey: quarkus.kubernetes.part-of + } +- org.openrewrite.properties.ChangePropertyKey: { + oldPropertyKey: quarkus.openshift.group, + newPropertyKey: quarkus.openshift.part-of + } +- org.openrewrite.properties.ChangePropertyKey: { + oldPropertyKey: quarkus.jib.labels, + newPropertyKey: quarkus.container-image.labels + } +--- +type: specs.openrewrite.org/v1beta/recipe +name: io.quarkus.updates.core.quarkus30.ApplicationYml +applicability: + singleSource: + - org.openrewrite.FindSourceFiles: { + filePattern: '**/application*.yml' + } +recipeList: +- org.openrewrite.yaml.ChangePropertyKey: { + oldPropertyKey: quarkus.kubernetes.expose, + newPropertyKey: quarkus.kubernetes.ingress.expose + } +- org.openrewrite.yaml.ChangePropertyKey: { + oldPropertyKey: quarkus.openshift.expose, + newPropertyKey: quarkus.openshift.route.expose + } +- org.openrewrite.yaml.ChangePropertyKey: { + oldPropertyKey: quarkus.kubernetes.host, + newPropertyKey: quarkus.kubernetes.ingress.host + } +- org.openrewrite.yaml.ChangePropertyKey: { + oldPropertyKey: quarkus.openshift.host, + newPropertyKey: quarkus.openshift.route.host + } +- org.openrewrite.yaml.ChangePropertyKey: { + oldPropertyKey: quarkus.kubernetes.group, + newPropertyKey: quarkus.kubernetes.part-of + } +- org.openrewrite.yaml.ChangePropertyKey: { + oldPropertyKey: quarkus.openshift.group, + newPropertyKey: quarkus.openshift.part-of + } +- org.openrewrite.properties.ChangePropertyKey: { + oldPropertyKey: quarkus.jib.labels, + newPropertyKey: quarkus.container-image.labels + } +--- +type: specs.openrewrite.org/v1beta/recipe +name: io.quarkus.updates.core.quarkus30.ApplicationYaml +applicability: + singleSource: + - org.openrewrite.FindSourceFiles: { + filePattern: '**/application*.yaml' + } +recipeList: +- org.openrewrite.yaml.ChangePropertyKey: { + oldPropertyKey: quarkus.kubernetes.expose, + newPropertyKey: quarkus.kubernetes.ingress.expose + } +- org.openrewrite.yaml.ChangePropertyKey: { + oldPropertyKey: quarkus.openshift.expose, + newPropertyKey: quarkus.openshift.route.expose + } +- org.openrewrite.yaml.ChangePropertyKey: { + oldPropertyKey: quarkus.kubernetes.host, + newPropertyKey: quarkus.kubernetes.ingress.host + } +- org.openrewrite.yaml.ChangePropertyKey: { + oldPropertyKey: quarkus.openshift.host, + newPropertyKey: quarkus.openshift.route.host + } +- org.openrewrite.yaml.ChangePropertyKey: { + oldPropertyKey: quarkus.kubernetes.group, + newPropertyKey: quarkus.kubernetes.part-of + } +- org.openrewrite.yaml.ChangePropertyKey: { + oldPropertyKey: quarkus.openshift.group, + newPropertyKey: quarkus.openshift.part-of + } +- org.openrewrite.properties.ChangePropertyKey: { + oldPropertyKey: quarkus.jib.labels, + newPropertyKey: quarkus.container-image.labels + } +--- +type: specs.openrewrite.org/v1beta/recipe +name: io.quarkus.updates.core.quarkus30.JavaxToJakartaDocumentationAdoc +applicability: + singleSource: + - org.openrewrite.FindSourceFiles: { + filePattern: '**/*.adoc' + } +recipeList: +- org.openrewrite.text.FindAndReplace: { + find: javax.json.bind.config., + replace: jakarta.json.bind.config. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.xml.soap., + replace: jakarta.xml.soap. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.security.jacc., + replace: jakarta.security.jacc. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.mail.internet., + replace: jakarta.mail.internet. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.batch.api.chunk., + replace: jakarta.batch.api.chunk. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.json.spi., + replace: jakarta.json.spi. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.resource., + replace: jakarta.resource. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.resource.spi.work., + replace: jakarta.resource.spi.work. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.xml.bind.annotation.adapters., + replace: jakarta.xml.bind.annotation.adapters. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.faces.webapp., + replace: jakarta.faces.webapp. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.faces.application., + replace: jakarta.faces.application. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.xml.bind.util., + replace: jakarta.xml.bind.util. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.persistence.criteria., + replace: jakarta.persistence.criteria. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.faces.event., + replace: jakarta.faces.event. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.activation., + replace: jakarta.activation. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.faces.flow.builder., + replace: jakarta.faces.flow.builder. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.websocket., + replace: jakarta.websocket. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.json.bind.serializer., + replace: jakarta.json.bind.serializer. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.enterprise.inject.se., + replace: jakarta.enterprise.inject.se. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.resource.cci., + replace: jakarta.resource.cci. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.validation.spi., + replace: jakarta.validation.spi. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.transaction., + replace: jakarta.transaction. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.xml.bind.attachment., + replace: jakarta.xml.bind.attachment. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.interceptor., + replace: jakarta.interceptor. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.xml.bind.helpers., + replace: jakarta.xml.bind.helpers. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.ejb.embeddable., + replace: jakarta.ejb.embeddable. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.persistence., + replace: jakarta.persistence. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.enterprise.inject., + replace: jakarta.enterprise.inject. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.mail.event., + replace: jakarta.mail.event. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.resource.spi.endpoint., + replace: jakarta.resource.spi.endpoint. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.faces.component.visit., + replace: jakarta.faces.component.visit. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.servlet.jsp.jstl., + replace: jakarta.servlet.jsp.jstl. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.servlet.jsp.el., + replace: jakarta.servlet.jsp.el. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.faces.el., + replace: jakarta.faces.el. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.xml.bind., + replace: jakarta.xml.bind. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.json.bind.adapter., + replace: jakarta.json.bind.adapter. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.validation.valueextraction., + replace: jakarta.validation.valueextraction. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.faces.view.facelets., + replace: jakarta.faces.view.facelets. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.faces.flow., + replace: jakarta.faces.flow. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.faces.render., + replace: jakarta.faces.render. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.mail.util., + replace: jakarta.mail.util. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.batch.runtime.context., + replace: jakarta.batch.runtime.context. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.annotation.security., + replace: jakarta.annotation.security. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.faces.component., + replace: jakarta.faces.component. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.servlet.jsp.jstl.fmt., + replace: jakarta.servlet.jsp.jstl.fmt. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.json.bind.spi., + replace: jakarta.json.bind.spi. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.servlet., + replace: jakarta.servlet. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.batch.operations., + replace: jakarta.batch.operations. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.faces.push., + replace: jakarta.faces.push. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.servlet.descriptor., + replace: jakarta.servlet.descriptor. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.xml.ws.handler.soap., + replace: jakarta.xml.ws.handler.soap. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.validation.executable., + replace: jakarta.validation.executable. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.faces.component.behavior., + replace: jakarta.faces.component.behavior. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.xml.bind.annotation., + replace: jakarta.xml.bind.annotation. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.batch.runtime., + replace: jakarta.batch.runtime. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.json.stream., + replace: jakarta.json.stream. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.servlet.annotation., + replace: jakarta.servlet.annotation. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.servlet.resources., + replace: jakarta.servlet.resources. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.servlet.http., + replace: jakarta.servlet.http. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.xml.ws.spi.http., + replace: jakarta.xml.ws.spi.http. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.ws.rs.container., + replace: jakarta.ws.rs.container. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.xml.ws., + replace: jakarta.xml.ws. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.enterprise.context.spi., + replace: jakarta.enterprise.context.spi. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.resource.spi., + replace: jakarta.resource.spi. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.faces.validator., + replace: jakarta.faces.validator. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.jws., + replace: jakarta.jws. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.annotation., + replace: jakarta.annotation. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.faces.component.search., + replace: jakarta.faces.component.search. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.json.bind., + replace: jakarta.json.bind. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.servlet.jsp.jstl.tlv., + replace: jakarta.servlet.jsp.jstl.tlv. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.servlet.jsp.jstl.core., + replace: jakarta.servlet.jsp.jstl.core. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.decorator., + replace: jakarta.decorator. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.faces.bean., + replace: jakarta.faces.bean. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.ws.rs.sse., + replace: jakarta.ws.rs.sse. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.persistence.metamodel., + replace: jakarta.persistence.metamodel. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.enterprise.context., + replace: jakarta.enterprise.context. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.xml.ws.spi., + replace: jakarta.xml.ws.spi. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.batch.api., + replace: jakarta.batch.api. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.el., + replace: jakarta.el. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.json., + replace: jakarta.json. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.batch.api.chunk.listener., + replace: jakarta.batch.api.chunk.listener. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.persistence.spi., + replace: jakarta.persistence.spi. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.xml.ws.handler., + replace: jakarta.xml.ws.handler. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.servlet.jsp.jstl.sql., + replace: jakarta.servlet.jsp.jstl.sql. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.enterprise.inject.literal., + replace: jakarta.enterprise.inject.literal. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.ws.rs.ext., + replace: jakarta.ws.rs.ext. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.validation.constraints., + replace: jakarta.validation.constraints. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.servlet.jsp.resources., + replace: jakarta.servlet.jsp.resources. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.validation.constraintvalidation., + replace: jakarta.validation.constraintvalidation. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.faces.lifecycle., + replace: jakarta.faces.lifecycle. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.security.auth.message.callback., + replace: jakarta.security.auth.message.callback. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.ws.rs., + replace: jakarta.ws.rs. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.security.auth.message.config., + replace: jakarta.security.auth.message.config. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.websocket.server., + replace: jakarta.websocket.server. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.security.enterprise.authentication.mechanism.http., + replace: jakarta.security.enterprise.authentication.mechanism.http. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.enterprise.event., + replace: jakarta.enterprise.event. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.inject., + replace: jakarta.inject. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.batch.api.listener., + replace: jakarta.batch.api.listener. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.xml.ws.http., + replace: jakarta.xml.ws.http. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.xml.ws.soap., + replace: jakarta.xml.ws.soap. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.enterprise.inject.spi., + replace: jakarta.enterprise.inject.spi. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.faces., + replace: jakarta.faces. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.jms., + replace: jakarta.jms. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.xml.ws.wsaddressing., + replace: jakarta.xml.ws.wsaddressing. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.validation.bootstrap., + replace: jakarta.validation.bootstrap. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.ejb.spi., + replace: jakarta.ejb.spi. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.validation.metadata., + replace: jakarta.validation.metadata. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.servlet.jsp., + replace: jakarta.servlet.jsp. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.faces.convert., + replace: jakarta.faces.convert. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.mail., + replace: jakarta.mail. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.enterprise.concurrent., + replace: jakarta.enterprise.concurrent. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.batch.api.partition., + replace: jakarta.batch.api.partition. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.faces.component.html., + replace: jakarta.faces.component.html. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.enterprise.inject.spi.configurator., + replace: jakarta.enterprise.inject.spi.configurator. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.security.enterprise.credential., + replace: jakarta.security.enterprise.credential. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.enterprise.context.control., + replace: jakarta.enterprise.context.control. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.json.bind.annotation., + replace: jakarta.json.bind.annotation. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.mail.search., + replace: jakarta.mail.search. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.enterprise.util., + replace: jakarta.enterprise.util. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.ws.rs.client., + replace: jakarta.ws.rs.client. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.faces.model., + replace: jakarta.faces.model. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.resource.spi.security., + replace: jakarta.resource.spi.security. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.faces.view., + replace: jakarta.faces.view. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.security.enterprise., + replace: jakarta.security.enterprise. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.servlet.jsp.tagext., + replace: jakarta.servlet.jsp.tagext. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.ws.rs.core., + replace: jakarta.ws.rs.core. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.security.auth.message.module., + replace: jakarta.security.auth.message.module. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.faces.context., + replace: jakarta.faces.context. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.security.auth.message., + replace: jakarta.security.auth.message. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.annotation.sql., + replace: jakarta.annotation.sql. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.faces.annotation., + replace: jakarta.faces.annotation. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.validation.groups., + replace: jakarta.validation.groups. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.jws.soap., + replace: jakarta.jws.soap. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.ejb., + replace: jakarta.ejb. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.security.enterprise.identitystore., + replace: jakarta.security.enterprise.identitystore. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.validation., + replace: jakarta.validation. + } +--- +type: specs.openrewrite.org/v1beta/recipe +name: io.quarkus.updates.core.quarkus30.JavaxToJakartaDocumentationMd +applicability: + singleSource: + - org.openrewrite.FindSourceFiles: { + filePattern: '**/*.md' + } +recipeList: +- org.openrewrite.text.FindAndReplace: { + find: javax.json.bind.config., + replace: jakarta.json.bind.config. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.xml.soap., + replace: jakarta.xml.soap. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.security.jacc., + replace: jakarta.security.jacc. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.mail.internet., + replace: jakarta.mail.internet. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.batch.api.chunk., + replace: jakarta.batch.api.chunk. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.json.spi., + replace: jakarta.json.spi. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.resource., + replace: jakarta.resource. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.resource.spi.work., + replace: jakarta.resource.spi.work. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.xml.bind.annotation.adapters., + replace: jakarta.xml.bind.annotation.adapters. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.faces.webapp., + replace: jakarta.faces.webapp. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.faces.application., + replace: jakarta.faces.application. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.xml.bind.util., + replace: jakarta.xml.bind.util. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.persistence.criteria., + replace: jakarta.persistence.criteria. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.faces.event., + replace: jakarta.faces.event. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.activation., + replace: jakarta.activation. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.faces.flow.builder., + replace: jakarta.faces.flow.builder. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.websocket., + replace: jakarta.websocket. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.json.bind.serializer., + replace: jakarta.json.bind.serializer. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.enterprise.inject.se., + replace: jakarta.enterprise.inject.se. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.resource.cci., + replace: jakarta.resource.cci. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.validation.spi., + replace: jakarta.validation.spi. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.transaction., + replace: jakarta.transaction. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.xml.bind.attachment., + replace: jakarta.xml.bind.attachment. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.interceptor., + replace: jakarta.interceptor. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.xml.bind.helpers., + replace: jakarta.xml.bind.helpers. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.ejb.embeddable., + replace: jakarta.ejb.embeddable. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.persistence., + replace: jakarta.persistence. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.enterprise.inject., + replace: jakarta.enterprise.inject. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.mail.event., + replace: jakarta.mail.event. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.resource.spi.endpoint., + replace: jakarta.resource.spi.endpoint. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.faces.component.visit., + replace: jakarta.faces.component.visit. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.servlet.jsp.jstl., + replace: jakarta.servlet.jsp.jstl. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.servlet.jsp.el., + replace: jakarta.servlet.jsp.el. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.faces.el., + replace: jakarta.faces.el. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.xml.bind., + replace: jakarta.xml.bind. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.json.bind.adapter., + replace: jakarta.json.bind.adapter. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.validation.valueextraction., + replace: jakarta.validation.valueextraction. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.faces.view.facelets., + replace: jakarta.faces.view.facelets. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.faces.flow., + replace: jakarta.faces.flow. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.faces.render., + replace: jakarta.faces.render. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.mail.util., + replace: jakarta.mail.util. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.batch.runtime.context., + replace: jakarta.batch.runtime.context. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.annotation.security., + replace: jakarta.annotation.security. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.faces.component., + replace: jakarta.faces.component. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.servlet.jsp.jstl.fmt., + replace: jakarta.servlet.jsp.jstl.fmt. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.json.bind.spi., + replace: jakarta.json.bind.spi. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.servlet., + replace: jakarta.servlet. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.batch.operations., + replace: jakarta.batch.operations. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.faces.push., + replace: jakarta.faces.push. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.servlet.descriptor., + replace: jakarta.servlet.descriptor. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.xml.ws.handler.soap., + replace: jakarta.xml.ws.handler.soap. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.validation.executable., + replace: jakarta.validation.executable. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.faces.component.behavior., + replace: jakarta.faces.component.behavior. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.xml.bind.annotation., + replace: jakarta.xml.bind.annotation. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.batch.runtime., + replace: jakarta.batch.runtime. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.json.stream., + replace: jakarta.json.stream. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.servlet.annotation., + replace: jakarta.servlet.annotation. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.servlet.resources., + replace: jakarta.servlet.resources. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.servlet.http., + replace: jakarta.servlet.http. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.xml.ws.spi.http., + replace: jakarta.xml.ws.spi.http. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.ws.rs.container., + replace: jakarta.ws.rs.container. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.xml.ws., + replace: jakarta.xml.ws. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.enterprise.context.spi., + replace: jakarta.enterprise.context.spi. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.resource.spi., + replace: jakarta.resource.spi. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.faces.validator., + replace: jakarta.faces.validator. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.jws., + replace: jakarta.jws. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.annotation., + replace: jakarta.annotation. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.faces.component.search., + replace: jakarta.faces.component.search. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.json.bind., + replace: jakarta.json.bind. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.servlet.jsp.jstl.tlv., + replace: jakarta.servlet.jsp.jstl.tlv. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.servlet.jsp.jstl.core., + replace: jakarta.servlet.jsp.jstl.core. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.decorator., + replace: jakarta.decorator. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.faces.bean., + replace: jakarta.faces.bean. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.ws.rs.sse., + replace: jakarta.ws.rs.sse. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.persistence.metamodel., + replace: jakarta.persistence.metamodel. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.enterprise.context., + replace: jakarta.enterprise.context. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.xml.ws.spi., + replace: jakarta.xml.ws.spi. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.batch.api., + replace: jakarta.batch.api. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.el., + replace: jakarta.el. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.json., + replace: jakarta.json. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.batch.api.chunk.listener., + replace: jakarta.batch.api.chunk.listener. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.persistence.spi., + replace: jakarta.persistence.spi. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.xml.ws.handler., + replace: jakarta.xml.ws.handler. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.servlet.jsp.jstl.sql., + replace: jakarta.servlet.jsp.jstl.sql. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.enterprise.inject.literal., + replace: jakarta.enterprise.inject.literal. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.ws.rs.ext., + replace: jakarta.ws.rs.ext. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.validation.constraints., + replace: jakarta.validation.constraints. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.servlet.jsp.resources., + replace: jakarta.servlet.jsp.resources. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.validation.constraintvalidation., + replace: jakarta.validation.constraintvalidation. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.faces.lifecycle., + replace: jakarta.faces.lifecycle. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.security.auth.message.callback., + replace: jakarta.security.auth.message.callback. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.ws.rs., + replace: jakarta.ws.rs. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.security.auth.message.config., + replace: jakarta.security.auth.message.config. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.websocket.server., + replace: jakarta.websocket.server. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.security.enterprise.authentication.mechanism.http., + replace: jakarta.security.enterprise.authentication.mechanism.http. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.enterprise.event., + replace: jakarta.enterprise.event. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.inject., + replace: jakarta.inject. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.batch.api.listener., + replace: jakarta.batch.api.listener. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.xml.ws.http., + replace: jakarta.xml.ws.http. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.xml.ws.soap., + replace: jakarta.xml.ws.soap. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.enterprise.inject.spi., + replace: jakarta.enterprise.inject.spi. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.faces., + replace: jakarta.faces. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.jms., + replace: jakarta.jms. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.xml.ws.wsaddressing., + replace: jakarta.xml.ws.wsaddressing. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.validation.bootstrap., + replace: jakarta.validation.bootstrap. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.ejb.spi., + replace: jakarta.ejb.spi. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.validation.metadata., + replace: jakarta.validation.metadata. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.servlet.jsp., + replace: jakarta.servlet.jsp. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.faces.convert., + replace: jakarta.faces.convert. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.mail., + replace: jakarta.mail. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.enterprise.concurrent., + replace: jakarta.enterprise.concurrent. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.batch.api.partition., + replace: jakarta.batch.api.partition. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.faces.component.html., + replace: jakarta.faces.component.html. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.enterprise.inject.spi.configurator., + replace: jakarta.enterprise.inject.spi.configurator. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.security.enterprise.credential., + replace: jakarta.security.enterprise.credential. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.enterprise.context.control., + replace: jakarta.enterprise.context.control. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.json.bind.annotation., + replace: jakarta.json.bind.annotation. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.mail.search., + replace: jakarta.mail.search. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.enterprise.util., + replace: jakarta.enterprise.util. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.ws.rs.client., + replace: jakarta.ws.rs.client. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.faces.model., + replace: jakarta.faces.model. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.resource.spi.security., + replace: jakarta.resource.spi.security. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.faces.view., + replace: jakarta.faces.view. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.security.enterprise., + replace: jakarta.security.enterprise. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.servlet.jsp.tagext., + replace: jakarta.servlet.jsp.tagext. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.ws.rs.core., + replace: jakarta.ws.rs.core. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.security.auth.message.module., + replace: jakarta.security.auth.message.module. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.faces.context., + replace: jakarta.faces.context. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.security.auth.message., + replace: jakarta.security.auth.message. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.annotation.sql., + replace: jakarta.annotation.sql. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.faces.annotation., + replace: jakarta.faces.annotation. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.validation.groups., + replace: jakarta.validation.groups. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.jws.soap., + replace: jakarta.jws.soap. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.ejb., + replace: jakarta.ejb. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.security.enterprise.identitystore., + replace: jakarta.security.enterprise.identitystore. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.validation., + replace: jakarta.validation. + } +--- +type: specs.openrewrite.org/v1beta/recipe +name: io.quarkus.updates.core.quarkus30.JavaxToJakartaCodestarts +applicability: + singleSource: + - org.openrewrite.FindSourceFiles: { + filePattern: '**/src/main/codestarts/**/*.java' + } +recipeList: +- org.openrewrite.text.FindAndReplace: { + find: javax.json.bind.config., + replace: jakarta.json.bind.config. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.xml.soap., + replace: jakarta.xml.soap. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.security.jacc., + replace: jakarta.security.jacc. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.mail.internet., + replace: jakarta.mail.internet. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.batch.api.chunk., + replace: jakarta.batch.api.chunk. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.json.spi., + replace: jakarta.json.spi. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.resource., + replace: jakarta.resource. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.resource.spi.work., + replace: jakarta.resource.spi.work. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.xml.bind.annotation.adapters., + replace: jakarta.xml.bind.annotation.adapters. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.faces.webapp., + replace: jakarta.faces.webapp. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.faces.application., + replace: jakarta.faces.application. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.xml.bind.util., + replace: jakarta.xml.bind.util. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.persistence.criteria., + replace: jakarta.persistence.criteria. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.faces.event., + replace: jakarta.faces.event. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.activation., + replace: jakarta.activation. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.faces.flow.builder., + replace: jakarta.faces.flow.builder. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.websocket., + replace: jakarta.websocket. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.json.bind.serializer., + replace: jakarta.json.bind.serializer. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.enterprise.inject.se., + replace: jakarta.enterprise.inject.se. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.resource.cci., + replace: jakarta.resource.cci. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.validation.spi., + replace: jakarta.validation.spi. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.transaction., + replace: jakarta.transaction. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.xml.bind.attachment., + replace: jakarta.xml.bind.attachment. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.interceptor., + replace: jakarta.interceptor. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.xml.bind.helpers., + replace: jakarta.xml.bind.helpers. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.ejb.embeddable., + replace: jakarta.ejb.embeddable. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.persistence., + replace: jakarta.persistence. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.enterprise.inject., + replace: jakarta.enterprise.inject. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.mail.event., + replace: jakarta.mail.event. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.resource.spi.endpoint., + replace: jakarta.resource.spi.endpoint. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.faces.component.visit., + replace: jakarta.faces.component.visit. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.servlet.jsp.jstl., + replace: jakarta.servlet.jsp.jstl. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.servlet.jsp.el., + replace: jakarta.servlet.jsp.el. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.faces.el., + replace: jakarta.faces.el. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.xml.bind., + replace: jakarta.xml.bind. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.json.bind.adapter., + replace: jakarta.json.bind.adapter. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.validation.valueextraction., + replace: jakarta.validation.valueextraction. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.faces.view.facelets., + replace: jakarta.faces.view.facelets. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.faces.flow., + replace: jakarta.faces.flow. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.faces.render., + replace: jakarta.faces.render. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.mail.util., + replace: jakarta.mail.util. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.batch.runtime.context., + replace: jakarta.batch.runtime.context. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.annotation.security., + replace: jakarta.annotation.security. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.faces.component., + replace: jakarta.faces.component. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.servlet.jsp.jstl.fmt., + replace: jakarta.servlet.jsp.jstl.fmt. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.json.bind.spi., + replace: jakarta.json.bind.spi. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.servlet., + replace: jakarta.servlet. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.batch.operations., + replace: jakarta.batch.operations. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.faces.push., + replace: jakarta.faces.push. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.servlet.descriptor., + replace: jakarta.servlet.descriptor. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.xml.ws.handler.soap., + replace: jakarta.xml.ws.handler.soap. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.validation.executable., + replace: jakarta.validation.executable. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.faces.component.behavior., + replace: jakarta.faces.component.behavior. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.xml.bind.annotation., + replace: jakarta.xml.bind.annotation. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.batch.runtime., + replace: jakarta.batch.runtime. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.json.stream., + replace: jakarta.json.stream. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.servlet.annotation., + replace: jakarta.servlet.annotation. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.servlet.resources., + replace: jakarta.servlet.resources. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.servlet.http., + replace: jakarta.servlet.http. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.xml.ws.spi.http., + replace: jakarta.xml.ws.spi.http. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.ws.rs.container., + replace: jakarta.ws.rs.container. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.xml.ws., + replace: jakarta.xml.ws. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.enterprise.context.spi., + replace: jakarta.enterprise.context.spi. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.resource.spi., + replace: jakarta.resource.spi. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.faces.validator., + replace: jakarta.faces.validator. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.jws., + replace: jakarta.jws. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.annotation., + replace: jakarta.annotation. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.faces.component.search., + replace: jakarta.faces.component.search. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.json.bind., + replace: jakarta.json.bind. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.servlet.jsp.jstl.tlv., + replace: jakarta.servlet.jsp.jstl.tlv. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.servlet.jsp.jstl.core., + replace: jakarta.servlet.jsp.jstl.core. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.decorator., + replace: jakarta.decorator. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.faces.bean., + replace: jakarta.faces.bean. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.ws.rs.sse., + replace: jakarta.ws.rs.sse. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.persistence.metamodel., + replace: jakarta.persistence.metamodel. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.enterprise.context., + replace: jakarta.enterprise.context. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.xml.ws.spi., + replace: jakarta.xml.ws.spi. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.batch.api., + replace: jakarta.batch.api. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.el., + replace: jakarta.el. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.json., + replace: jakarta.json. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.batch.api.chunk.listener., + replace: jakarta.batch.api.chunk.listener. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.persistence.spi., + replace: jakarta.persistence.spi. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.xml.ws.handler., + replace: jakarta.xml.ws.handler. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.servlet.jsp.jstl.sql., + replace: jakarta.servlet.jsp.jstl.sql. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.enterprise.inject.literal., + replace: jakarta.enterprise.inject.literal. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.ws.rs.ext., + replace: jakarta.ws.rs.ext. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.validation.constraints., + replace: jakarta.validation.constraints. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.servlet.jsp.resources., + replace: jakarta.servlet.jsp.resources. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.validation.constraintvalidation., + replace: jakarta.validation.constraintvalidation. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.faces.lifecycle., + replace: jakarta.faces.lifecycle. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.security.auth.message.callback., + replace: jakarta.security.auth.message.callback. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.ws.rs., + replace: jakarta.ws.rs. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.security.auth.message.config., + replace: jakarta.security.auth.message.config. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.websocket.server., + replace: jakarta.websocket.server. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.security.enterprise.authentication.mechanism.http., + replace: jakarta.security.enterprise.authentication.mechanism.http. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.enterprise.event., + replace: jakarta.enterprise.event. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.inject., + replace: jakarta.inject. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.batch.api.listener., + replace: jakarta.batch.api.listener. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.xml.ws.http., + replace: jakarta.xml.ws.http. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.xml.ws.soap., + replace: jakarta.xml.ws.soap. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.enterprise.inject.spi., + replace: jakarta.enterprise.inject.spi. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.faces., + replace: jakarta.faces. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.jms., + replace: jakarta.jms. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.xml.ws.wsaddressing., + replace: jakarta.xml.ws.wsaddressing. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.validation.bootstrap., + replace: jakarta.validation.bootstrap. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.ejb.spi., + replace: jakarta.ejb.spi. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.validation.metadata., + replace: jakarta.validation.metadata. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.servlet.jsp., + replace: jakarta.servlet.jsp. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.faces.convert., + replace: jakarta.faces.convert. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.mail., + replace: jakarta.mail. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.enterprise.concurrent., + replace: jakarta.enterprise.concurrent. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.batch.api.partition., + replace: jakarta.batch.api.partition. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.faces.component.html., + replace: jakarta.faces.component.html. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.enterprise.inject.spi.configurator., + replace: jakarta.enterprise.inject.spi.configurator. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.security.enterprise.credential., + replace: jakarta.security.enterprise.credential. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.enterprise.context.control., + replace: jakarta.enterprise.context.control. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.json.bind.annotation., + replace: jakarta.json.bind.annotation. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.mail.search., + replace: jakarta.mail.search. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.enterprise.util., + replace: jakarta.enterprise.util. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.ws.rs.client., + replace: jakarta.ws.rs.client. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.faces.model., + replace: jakarta.faces.model. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.resource.spi.security., + replace: jakarta.resource.spi.security. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.faces.view., + replace: jakarta.faces.view. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.security.enterprise., + replace: jakarta.security.enterprise. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.servlet.jsp.tagext., + replace: jakarta.servlet.jsp.tagext. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.ws.rs.core., + replace: jakarta.ws.rs.core. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.security.auth.message.module., + replace: jakarta.security.auth.message.module. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.faces.context., + replace: jakarta.faces.context. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.security.auth.message., + replace: jakarta.security.auth.message. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.annotation.sql., + replace: jakarta.annotation.sql. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.faces.annotation., + replace: jakarta.faces.annotation. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.validation.groups., + replace: jakarta.validation.groups. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.jws.soap., + replace: jakarta.jws.soap. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.ejb., + replace: jakarta.ejb. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.security.enterprise.identitystore., + replace: jakarta.security.enterprise.identitystore. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.validation., + replace: jakarta.validation. + } +--- +type: specs.openrewrite.org/v1beta/recipe +name: io.quarkus.updates.core.quarkus30.JavaxToJakartaCodestartsTests +applicability: + singleSource: + - org.openrewrite.FindSourceFiles: { + filePattern: '**/src/test/resources/__snapshots__/**/*.java' + } +recipeList: +- org.openrewrite.text.FindAndReplace: { + find: javax.json.bind.config., + replace: jakarta.json.bind.config. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.xml.soap., + replace: jakarta.xml.soap. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.security.jacc., + replace: jakarta.security.jacc. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.mail.internet., + replace: jakarta.mail.internet. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.batch.api.chunk., + replace: jakarta.batch.api.chunk. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.json.spi., + replace: jakarta.json.spi. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.resource., + replace: jakarta.resource. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.resource.spi.work., + replace: jakarta.resource.spi.work. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.xml.bind.annotation.adapters., + replace: jakarta.xml.bind.annotation.adapters. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.faces.webapp., + replace: jakarta.faces.webapp. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.faces.application., + replace: jakarta.faces.application. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.xml.bind.util., + replace: jakarta.xml.bind.util. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.persistence.criteria., + replace: jakarta.persistence.criteria. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.faces.event., + replace: jakarta.faces.event. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.activation., + replace: jakarta.activation. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.faces.flow.builder., + replace: jakarta.faces.flow.builder. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.websocket., + replace: jakarta.websocket. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.json.bind.serializer., + replace: jakarta.json.bind.serializer. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.enterprise.inject.se., + replace: jakarta.enterprise.inject.se. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.resource.cci., + replace: jakarta.resource.cci. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.validation.spi., + replace: jakarta.validation.spi. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.transaction., + replace: jakarta.transaction. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.xml.bind.attachment., + replace: jakarta.xml.bind.attachment. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.interceptor., + replace: jakarta.interceptor. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.xml.bind.helpers., + replace: jakarta.xml.bind.helpers. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.ejb.embeddable., + replace: jakarta.ejb.embeddable. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.persistence., + replace: jakarta.persistence. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.enterprise.inject., + replace: jakarta.enterprise.inject. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.mail.event., + replace: jakarta.mail.event. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.resource.spi.endpoint., + replace: jakarta.resource.spi.endpoint. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.faces.component.visit., + replace: jakarta.faces.component.visit. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.servlet.jsp.jstl., + replace: jakarta.servlet.jsp.jstl. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.servlet.jsp.el., + replace: jakarta.servlet.jsp.el. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.faces.el., + replace: jakarta.faces.el. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.xml.bind., + replace: jakarta.xml.bind. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.json.bind.adapter., + replace: jakarta.json.bind.adapter. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.validation.valueextraction., + replace: jakarta.validation.valueextraction. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.faces.view.facelets., + replace: jakarta.faces.view.facelets. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.faces.flow., + replace: jakarta.faces.flow. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.faces.render., + replace: jakarta.faces.render. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.mail.util., + replace: jakarta.mail.util. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.batch.runtime.context., + replace: jakarta.batch.runtime.context. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.annotation.security., + replace: jakarta.annotation.security. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.faces.component., + replace: jakarta.faces.component. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.servlet.jsp.jstl.fmt., + replace: jakarta.servlet.jsp.jstl.fmt. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.json.bind.spi., + replace: jakarta.json.bind.spi. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.servlet., + replace: jakarta.servlet. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.batch.operations., + replace: jakarta.batch.operations. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.faces.push., + replace: jakarta.faces.push. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.servlet.descriptor., + replace: jakarta.servlet.descriptor. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.xml.ws.handler.soap., + replace: jakarta.xml.ws.handler.soap. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.validation.executable., + replace: jakarta.validation.executable. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.faces.component.behavior., + replace: jakarta.faces.component.behavior. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.xml.bind.annotation., + replace: jakarta.xml.bind.annotation. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.batch.runtime., + replace: jakarta.batch.runtime. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.json.stream., + replace: jakarta.json.stream. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.servlet.annotation., + replace: jakarta.servlet.annotation. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.servlet.resources., + replace: jakarta.servlet.resources. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.servlet.http., + replace: jakarta.servlet.http. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.xml.ws.spi.http., + replace: jakarta.xml.ws.spi.http. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.ws.rs.container., + replace: jakarta.ws.rs.container. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.xml.ws., + replace: jakarta.xml.ws. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.enterprise.context.spi., + replace: jakarta.enterprise.context.spi. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.resource.spi., + replace: jakarta.resource.spi. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.faces.validator., + replace: jakarta.faces.validator. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.jws., + replace: jakarta.jws. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.annotation., + replace: jakarta.annotation. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.faces.component.search., + replace: jakarta.faces.component.search. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.json.bind., + replace: jakarta.json.bind. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.servlet.jsp.jstl.tlv., + replace: jakarta.servlet.jsp.jstl.tlv. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.servlet.jsp.jstl.core., + replace: jakarta.servlet.jsp.jstl.core. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.decorator., + replace: jakarta.decorator. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.faces.bean., + replace: jakarta.faces.bean. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.ws.rs.sse., + replace: jakarta.ws.rs.sse. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.persistence.metamodel., + replace: jakarta.persistence.metamodel. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.enterprise.context., + replace: jakarta.enterprise.context. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.xml.ws.spi., + replace: jakarta.xml.ws.spi. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.batch.api., + replace: jakarta.batch.api. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.el., + replace: jakarta.el. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.json., + replace: jakarta.json. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.batch.api.chunk.listener., + replace: jakarta.batch.api.chunk.listener. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.persistence.spi., + replace: jakarta.persistence.spi. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.xml.ws.handler., + replace: jakarta.xml.ws.handler. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.servlet.jsp.jstl.sql., + replace: jakarta.servlet.jsp.jstl.sql. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.enterprise.inject.literal., + replace: jakarta.enterprise.inject.literal. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.ws.rs.ext., + replace: jakarta.ws.rs.ext. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.validation.constraints., + replace: jakarta.validation.constraints. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.servlet.jsp.resources., + replace: jakarta.servlet.jsp.resources. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.validation.constraintvalidation., + replace: jakarta.validation.constraintvalidation. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.faces.lifecycle., + replace: jakarta.faces.lifecycle. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.security.auth.message.callback., + replace: jakarta.security.auth.message.callback. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.ws.rs., + replace: jakarta.ws.rs. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.security.auth.message.config., + replace: jakarta.security.auth.message.config. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.websocket.server., + replace: jakarta.websocket.server. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.security.enterprise.authentication.mechanism.http., + replace: jakarta.security.enterprise.authentication.mechanism.http. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.enterprise.event., + replace: jakarta.enterprise.event. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.inject., + replace: jakarta.inject. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.batch.api.listener., + replace: jakarta.batch.api.listener. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.xml.ws.http., + replace: jakarta.xml.ws.http. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.xml.ws.soap., + replace: jakarta.xml.ws.soap. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.enterprise.inject.spi., + replace: jakarta.enterprise.inject.spi. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.faces., + replace: jakarta.faces. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.jms., + replace: jakarta.jms. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.xml.ws.wsaddressing., + replace: jakarta.xml.ws.wsaddressing. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.validation.bootstrap., + replace: jakarta.validation.bootstrap. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.ejb.spi., + replace: jakarta.ejb.spi. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.validation.metadata., + replace: jakarta.validation.metadata. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.servlet.jsp., + replace: jakarta.servlet.jsp. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.faces.convert., + replace: jakarta.faces.convert. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.mail., + replace: jakarta.mail. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.enterprise.concurrent., + replace: jakarta.enterprise.concurrent. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.batch.api.partition., + replace: jakarta.batch.api.partition. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.faces.component.html., + replace: jakarta.faces.component.html. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.enterprise.inject.spi.configurator., + replace: jakarta.enterprise.inject.spi.configurator. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.security.enterprise.credential., + replace: jakarta.security.enterprise.credential. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.enterprise.context.control., + replace: jakarta.enterprise.context.control. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.json.bind.annotation., + replace: jakarta.json.bind.annotation. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.mail.search., + replace: jakarta.mail.search. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.enterprise.util., + replace: jakarta.enterprise.util. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.ws.rs.client., + replace: jakarta.ws.rs.client. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.faces.model., + replace: jakarta.faces.model. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.resource.spi.security., + replace: jakarta.resource.spi.security. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.faces.view., + replace: jakarta.faces.view. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.security.enterprise., + replace: jakarta.security.enterprise. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.servlet.jsp.tagext., + replace: jakarta.servlet.jsp.tagext. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.ws.rs.core., + replace: jakarta.ws.rs.core. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.security.auth.message.module., + replace: jakarta.security.auth.message.module. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.faces.context., + replace: jakarta.faces.context. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.security.auth.message., + replace: jakarta.security.auth.message. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.annotation.sql., + replace: jakarta.annotation.sql. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.faces.annotation., + replace: jakarta.faces.annotation. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.validation.groups., + replace: jakarta.validation.groups. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.jws.soap., + replace: jakarta.jws.soap. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.ejb., + replace: jakarta.ejb. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.security.enterprise.identitystore., + replace: jakarta.security.enterprise.identitystore. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.validation., + replace: jakarta.validation. + } +--- +type: specs.openrewrite.org/v1beta/recipe +name: io.quarkus.updates.core.quarkus30.JavaxToJakartaKotlin +applicability: + singleSource: + - org.openrewrite.FindSourceFiles: { + filePattern: '**/*.kt' + } +recipeList: +- org.openrewrite.text.FindAndReplace: { + find: javax.json.bind.config., + replace: jakarta.json.bind.config. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.xml.soap., + replace: jakarta.xml.soap. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.security.jacc., + replace: jakarta.security.jacc. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.mail.internet., + replace: jakarta.mail.internet. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.batch.api.chunk., + replace: jakarta.batch.api.chunk. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.json.spi., + replace: jakarta.json.spi. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.resource., + replace: jakarta.resource. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.resource.spi.work., + replace: jakarta.resource.spi.work. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.xml.bind.annotation.adapters., + replace: jakarta.xml.bind.annotation.adapters. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.faces.webapp., + replace: jakarta.faces.webapp. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.faces.application., + replace: jakarta.faces.application. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.xml.bind.util., + replace: jakarta.xml.bind.util. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.persistence.criteria., + replace: jakarta.persistence.criteria. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.faces.event., + replace: jakarta.faces.event. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.activation., + replace: jakarta.activation. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.faces.flow.builder., + replace: jakarta.faces.flow.builder. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.websocket., + replace: jakarta.websocket. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.json.bind.serializer., + replace: jakarta.json.bind.serializer. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.enterprise.inject.se., + replace: jakarta.enterprise.inject.se. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.resource.cci., + replace: jakarta.resource.cci. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.validation.spi., + replace: jakarta.validation.spi. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.transaction., + replace: jakarta.transaction. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.xml.bind.attachment., + replace: jakarta.xml.bind.attachment. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.interceptor., + replace: jakarta.interceptor. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.xml.bind.helpers., + replace: jakarta.xml.bind.helpers. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.ejb.embeddable., + replace: jakarta.ejb.embeddable. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.persistence., + replace: jakarta.persistence. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.enterprise.inject., + replace: jakarta.enterprise.inject. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.mail.event., + replace: jakarta.mail.event. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.resource.spi.endpoint., + replace: jakarta.resource.spi.endpoint. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.faces.component.visit., + replace: jakarta.faces.component.visit. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.servlet.jsp.jstl., + replace: jakarta.servlet.jsp.jstl. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.servlet.jsp.el., + replace: jakarta.servlet.jsp.el. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.faces.el., + replace: jakarta.faces.el. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.xml.bind., + replace: jakarta.xml.bind. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.json.bind.adapter., + replace: jakarta.json.bind.adapter. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.validation.valueextraction., + replace: jakarta.validation.valueextraction. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.faces.view.facelets., + replace: jakarta.faces.view.facelets. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.faces.flow., + replace: jakarta.faces.flow. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.faces.render., + replace: jakarta.faces.render. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.mail.util., + replace: jakarta.mail.util. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.batch.runtime.context., + replace: jakarta.batch.runtime.context. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.annotation.security., + replace: jakarta.annotation.security. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.faces.component., + replace: jakarta.faces.component. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.servlet.jsp.jstl.fmt., + replace: jakarta.servlet.jsp.jstl.fmt. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.json.bind.spi., + replace: jakarta.json.bind.spi. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.servlet., + replace: jakarta.servlet. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.batch.operations., + replace: jakarta.batch.operations. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.faces.push., + replace: jakarta.faces.push. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.servlet.descriptor., + replace: jakarta.servlet.descriptor. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.xml.ws.handler.soap., + replace: jakarta.xml.ws.handler.soap. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.validation.executable., + replace: jakarta.validation.executable. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.faces.component.behavior., + replace: jakarta.faces.component.behavior. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.xml.bind.annotation., + replace: jakarta.xml.bind.annotation. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.batch.runtime., + replace: jakarta.batch.runtime. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.json.stream., + replace: jakarta.json.stream. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.servlet.annotation., + replace: jakarta.servlet.annotation. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.servlet.resources., + replace: jakarta.servlet.resources. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.servlet.http., + replace: jakarta.servlet.http. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.xml.ws.spi.http., + replace: jakarta.xml.ws.spi.http. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.ws.rs.container., + replace: jakarta.ws.rs.container. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.xml.ws., + replace: jakarta.xml.ws. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.enterprise.context.spi., + replace: jakarta.enterprise.context.spi. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.resource.spi., + replace: jakarta.resource.spi. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.faces.validator., + replace: jakarta.faces.validator. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.jws., + replace: jakarta.jws. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.annotation., + replace: jakarta.annotation. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.faces.component.search., + replace: jakarta.faces.component.search. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.json.bind., + replace: jakarta.json.bind. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.servlet.jsp.jstl.tlv., + replace: jakarta.servlet.jsp.jstl.tlv. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.servlet.jsp.jstl.core., + replace: jakarta.servlet.jsp.jstl.core. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.decorator., + replace: jakarta.decorator. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.faces.bean., + replace: jakarta.faces.bean. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.ws.rs.sse., + replace: jakarta.ws.rs.sse. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.persistence.metamodel., + replace: jakarta.persistence.metamodel. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.enterprise.context., + replace: jakarta.enterprise.context. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.xml.ws.spi., + replace: jakarta.xml.ws.spi. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.batch.api., + replace: jakarta.batch.api. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.el., + replace: jakarta.el. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.json., + replace: jakarta.json. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.batch.api.chunk.listener., + replace: jakarta.batch.api.chunk.listener. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.persistence.spi., + replace: jakarta.persistence.spi. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.xml.ws.handler., + replace: jakarta.xml.ws.handler. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.servlet.jsp.jstl.sql., + replace: jakarta.servlet.jsp.jstl.sql. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.enterprise.inject.literal., + replace: jakarta.enterprise.inject.literal. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.ws.rs.ext., + replace: jakarta.ws.rs.ext. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.validation.constraints., + replace: jakarta.validation.constraints. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.servlet.jsp.resources., + replace: jakarta.servlet.jsp.resources. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.validation.constraintvalidation., + replace: jakarta.validation.constraintvalidation. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.faces.lifecycle., + replace: jakarta.faces.lifecycle. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.security.auth.message.callback., + replace: jakarta.security.auth.message.callback. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.ws.rs., + replace: jakarta.ws.rs. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.security.auth.message.config., + replace: jakarta.security.auth.message.config. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.websocket.server., + replace: jakarta.websocket.server. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.security.enterprise.authentication.mechanism.http., + replace: jakarta.security.enterprise.authentication.mechanism.http. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.enterprise.event., + replace: jakarta.enterprise.event. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.inject., + replace: jakarta.inject. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.batch.api.listener., + replace: jakarta.batch.api.listener. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.xml.ws.http., + replace: jakarta.xml.ws.http. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.xml.ws.soap., + replace: jakarta.xml.ws.soap. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.enterprise.inject.spi., + replace: jakarta.enterprise.inject.spi. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.faces., + replace: jakarta.faces. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.jms., + replace: jakarta.jms. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.xml.ws.wsaddressing., + replace: jakarta.xml.ws.wsaddressing. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.validation.bootstrap., + replace: jakarta.validation.bootstrap. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.ejb.spi., + replace: jakarta.ejb.spi. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.validation.metadata., + replace: jakarta.validation.metadata. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.servlet.jsp., + replace: jakarta.servlet.jsp. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.faces.convert., + replace: jakarta.faces.convert. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.mail., + replace: jakarta.mail. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.enterprise.concurrent., + replace: jakarta.enterprise.concurrent. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.batch.api.partition., + replace: jakarta.batch.api.partition. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.faces.component.html., + replace: jakarta.faces.component.html. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.enterprise.inject.spi.configurator., + replace: jakarta.enterprise.inject.spi.configurator. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.security.enterprise.credential., + replace: jakarta.security.enterprise.credential. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.enterprise.context.control., + replace: jakarta.enterprise.context.control. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.json.bind.annotation., + replace: jakarta.json.bind.annotation. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.mail.search., + replace: jakarta.mail.search. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.enterprise.util., + replace: jakarta.enterprise.util. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.ws.rs.client., + replace: jakarta.ws.rs.client. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.faces.model., + replace: jakarta.faces.model. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.resource.spi.security., + replace: jakarta.resource.spi.security. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.faces.view., + replace: jakarta.faces.view. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.security.enterprise., + replace: jakarta.security.enterprise. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.servlet.jsp.tagext., + replace: jakarta.servlet.jsp.tagext. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.ws.rs.core., + replace: jakarta.ws.rs.core. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.security.auth.message.module., + replace: jakarta.security.auth.message.module. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.faces.context., + replace: jakarta.faces.context. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.security.auth.message., + replace: jakarta.security.auth.message. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.annotation.sql., + replace: jakarta.annotation.sql. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.faces.annotation., + replace: jakarta.faces.annotation. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.validation.groups., + replace: jakarta.validation.groups. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.jws.soap., + replace: jakarta.jws.soap. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.ejb., + replace: jakarta.ejb. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.security.enterprise.identitystore., + replace: jakarta.security.enterprise.identitystore. + } +- org.openrewrite.text.FindAndReplace: { + find: javax.validation., + replace: jakarta.validation. + } diff --git a/.ci/environments/quarkus-branch/before.sh b/.ci/environments/quarkus-branch/before.sh new file mode 100755 index 0000000..d2cf2e7 --- /dev/null +++ b/.ci/environments/quarkus-branch/before.sh @@ -0,0 +1,6 @@ +#!/bin/bash +set -euo pipefail + +script_dir_path=$(cd `dirname "${BASH_SOURCE[0]}"`; pwd -P) + +"${script_dir_path}"/../common/update_quarkus.sh diff --git a/.ci/environments/quarkus-lts/README.md b/.ci/environments/quarkus-lts/README.md new file mode 100644 index 0000000..2c8fd03 --- /dev/null +++ b/.ci/environments/quarkus-lts/README.md @@ -0,0 +1,19 @@ +# How to create a patch from a revert commit ? + +**NOTE:** Execute those commands at the root of your project + +First, set the variables to be used (change the values): + +``` bash +commit_id={COMMIT_HASH} +patch_name={ANY_MEANINGFUL_NAME} +``` + +Finally, create the patch file: + +``` bash +git revert --no-commit ${commit_id} +git commit -m "Revert ${patch_name}" +git show $(git rev-parse HEAD) > .ci/environments/quarkus-lts/patches/${patch_name} +git reset HEAD~1 --hard +``` diff --git a/.ci/environments/quarkus-lts/before.sh b/.ci/environments/quarkus-lts/before.sh new file mode 100755 index 0000000..d2cf2e7 --- /dev/null +++ b/.ci/environments/quarkus-lts/before.sh @@ -0,0 +1,6 @@ +#!/bin/bash +set -euo pipefail + +script_dir_path=$(cd `dirname "${BASH_SOURCE[0]}"`; pwd -P) + +"${script_dir_path}"/../common/update_quarkus.sh diff --git a/.ci/environments/quarkus-main/before.sh b/.ci/environments/quarkus-main/before.sh new file mode 100755 index 0000000..d2cf2e7 --- /dev/null +++ b/.ci/environments/quarkus-main/before.sh @@ -0,0 +1,6 @@ +#!/bin/bash +set -euo pipefail + +script_dir_path=$(cd `dirname "${BASH_SOURCE[0]}"`; pwd -P) + +"${script_dir_path}"/../common/update_quarkus.sh diff --git a/.ci/environments/update.sh b/.ci/environments/update.sh new file mode 100755 index 0000000..bda16c4 --- /dev/null +++ b/.ci/environments/update.sh @@ -0,0 +1,48 @@ +#!/bin/bash +set -euo pipefail + +script_dir_path=$(cd `dirname "${BASH_SOURCE[0]}"`; pwd -P) + +environment=$1 +shift + +if [ -z "${environment}" ]; then + echo "No environment given as first argument" + exit 1 +fi + +env_path="${script_dir_path}/${environment}" +echo $env_path +if [ ! -d "${env_path}" ]; then + echo "No configuration given for this environment ... Nothing done !" + exit 0 +fi + +echo "Update project for environment '${environment}'" + +# If update script is present, apply it +if [ -f "${env_path}/before.sh" ]; then + echo "Run before script" + ${env_path}/before.sh $@ +fi + +# Apply patches if any +patches_path="${env_path}"/patches +if [ -d ${patches_path} ]; then + for patch_file in "${patches_path}"/* + do + echo "Apply git patch ${patch_file}" + git apply ${patch_file} --whitespace=fix + done +else + echo 'No patch to apply' +fi + +# If update script is present, apply it +if [ -f "${env_path}/after.sh" ]; then + echo "Run after script" + ${env_path}/after.sh $@ +fi + +# Download `setup_integration_branch` script and execute +curl -s https://raw.githubusercontent.com/kiegroup/kogito-pipelines/main/dsl/seed/scripts/setup_integration_branch.sh | bash \ No newline at end of file From 1c5ef11de8eb19934e6405e3413057cbd0621de3 Mon Sep 17 00:00:00 2001 From: radtriste Date: Tue, 29 Aug 2023 13:55:08 +0200 Subject: [PATCH 2/7] added quarkus-3 jenkinsfiles --- .ci/jenkins/Jenkinsfile.quarkus-3.rewrite.pr | 99 ++++++++++ .../Jenkinsfile.quarkus-3.rewrite.standalone | 178 ++++++++++++++++++ 2 files changed, 277 insertions(+) create mode 100644 .ci/jenkins/Jenkinsfile.quarkus-3.rewrite.pr create mode 100644 .ci/jenkins/Jenkinsfile.quarkus-3.rewrite.standalone diff --git a/.ci/jenkins/Jenkinsfile.quarkus-3.rewrite.pr b/.ci/jenkins/Jenkinsfile.quarkus-3.rewrite.pr new file mode 100644 index 0000000..7b3691f --- /dev/null +++ b/.ci/jenkins/Jenkinsfile.quarkus-3.rewrite.pr @@ -0,0 +1,99 @@ +@Library('jenkins-pipeline-shared-libraries')_ + +import org.kie.jenkins.MavenCommand + +changeAuthor = env.ghprbAuthorRepoGitUrl ? util.getGroup(env.ghprbAuthorRepoGitUrl) : (env.ghprbPullAuthorLogin ?: CHANGE_AUTHOR) +changeBranch = env.ghprbSourceBranch ?: CHANGE_BRANCH +changeTarget = env.ghprbTargetBranch ?: CHANGE_TARGET + +pipeline { + agent { + label 'kie-rhel8 && kie-mem16g && !built-in' + } + tools { + maven env.BUILD_MAVEN_TOOL + jdk env.BUILD_JDK_TOOL + } + options { + timestamps() + timeout(time: 180, unit: 'MINUTES') + } + stages { + stage('Initialization') { + steps { + script { + cleanWs() + + sh 'printenv > env_props' + archiveArtifacts artifacts: 'env_props' + + dir(getRepoName()) { + checkout(githubscm.resolveRepository(getRepoName(), changeAuthor, changeBranch, false)) + // need to manually checkout branch since on a detached branch after checkout command + sh "git checkout ${changeBranch}" + } + } + } + } + stage('Build Drools') { + steps { + script { + dir('drools') { + githubscm.checkoutIfExists('drools', changeAuthor, changeBranch, 'kiegroup', changeTarget, true) + util.runWithPythonVirtualEnv('.ci/environments/update.sh quarkus-3', 'swf') + util.runWithPythonVirtualEnv(getMavenCommand().withProperty('quickly').getFullRunCommand('clean install'), 'swf') + } + } + } + } + stage('Generate rewrite patch') { + steps { + script { + dir(getRepoName()) { + configFileProvider([configFile(fileId: env.MAVEN_SETTINGS_CONFIG_FILE_ID, variable: 'MAVEN_SETTINGS_FILE')]) { + env.BUILD_MVN_OPTS = "${env.BUILD_MVN_OPTS ?: ''} -s ${MAVEN_SETTINGS_FILE} -Dmaven.wagon.http.ssl.insecure=true -Dmaven.test.failure.ignore=true" + echo "BUILD_MVN_OPTS = ${BUILD_MVN_OPTS}" + + util.runWithPythonVirtualEnv('.ci/environments/quarkus-3/before.sh rewrite', 'swf') + } + } + } + } + } + stage('Push changes') { + steps { + script { + dir(getRepoName()) { + githubscm.pushObject('origin', changeBranch, getGitAuthorCredsId()) + } + } + } + } + } + post { + always { + script { + cleanWs() + } + } + unsuccessful { + script { + pullrequest.postComment(util.getMarkdownTestSummary('Rewrite quarkus-3 before.sh patch file', '', "${BUILD_URL}", 'GITHUB')) + } + } + } +} + +String getRepoName() { + return env.REPO_NAME +} + +String getGitAuthorCredsId() { + return env.AUTHOR_CREDS_ID +} + +MavenCommand getMavenCommand() { + return new MavenCommand(this, ['-fae', '-ntp']) + .withSettingsXmlId(env.MAVEN_SETTINGS_CONFIG_FILE_ID) + .withOptions(env.BUILD_MVN_OPTS ? [ env.BUILD_MVN_OPTS ] : []) +} diff --git a/.ci/jenkins/Jenkinsfile.quarkus-3.rewrite.standalone b/.ci/jenkins/Jenkinsfile.quarkus-3.rewrite.standalone new file mode 100644 index 0000000..34a155c --- /dev/null +++ b/.ci/jenkins/Jenkinsfile.quarkus-3.rewrite.standalone @@ -0,0 +1,178 @@ +import org.jenkinsci.plugins.workflow.libs.Library +@Library('jenkins-pipeline-shared-libraries')_ + +import org.kie.jenkins.MavenCommand + +previousHash = '' + +pipeline { + agent { + label 'kie-rhel8 && kie-mem16g && !built-in' + } + + tools { + maven env.BUILD_MAVEN_TOOL + jdk env.BUILD_JDK_TOOL + } + + options { + timestamps() + timeout(time: 180, unit: 'MINUTES') + } + + environment { + KOGITO_CI_EMAIL_TO = credentials("${JENKINS_EMAIL_CREDS_ID}") + + PR_BRANCH_HASH = "${util.generateHash(10)}" + } + + stages { + stage('Initialize') { + steps { + script { + clean() + + if (params.DISPLAY_NAME) { + currentBuild.displayName = params.DISPLAY_NAME + } + dir(getRepoName()) { + checkoutRepo(getRepoName(), getBuildBranch()) + } + } + } + } + stage('Prepare for PR') { + when { + expression { !isPRSourceBranch() } + } + steps { + script { + dir(getRepoName()) { + githubscm.createBranch(getPRBranch()) + previousHash = githubscm.getCommitHash() + } + } + } + } + stage('Build Drools') { + steps { + script { + dir('drools') { + githubscm.checkoutIfExists('drools', getGitAuthor(), getBuildBranch(), getBaseAuthor(), getBaseBranch(), true) + util.runWithPythonVirtualEnv('.ci/environments/update.sh quarkus-3', 'swf') + util.runWithPythonVirtualEnv(getMavenCommand().withProperty('quickly').getFullRunCommand('clean install'), 'swf') + } + } + } + } + stage('Generate rewrite patch') { + steps { + script { + dir(getRepoName()) { + configFileProvider([configFile(fileId: env.MAVEN_SETTINGS_CONFIG_FILE_ID, variable: 'MAVEN_SETTINGS_FILE')]) { + env.BUILD_MVN_OPTS = "${env.BUILD_MVN_OPTS ?: ''} -s ${MAVEN_SETTINGS_FILE} -Dmaven.wagon.http.ssl.insecure=true -Dmaven.test.failure.ignore=true" + echo "BUILD_MVN_OPTS = ${BUILD_MVN_OPTS}" + + util.runWithPythonVirtualEnv('.ci/environments/quarkus-3/before.sh rewrite', 'swf') + } + } + } + } + stage('Push changes') { + steps { + script { + dir(getRepoName()) { + githubscm.pushObject('origin', isPRSourceBranch() ? getBuildBranch() : getPRBranch(), getGitAuthorCredsId()) + } + } + } + } + stage('Create PR') { + when { + expression { !isPRSourceBranch() } + } + steps { + script { + dir(getRepoName()) { + if (githubscm.getCommitHash() != previousHash) { + def prTitle = '[Quarkus 3 migration] Updated Openrewrite patch' + def prBody = "Please review and merge.\n\nGenerated by build ${BUILD_TAG}: ${BUILD_URL}." + prLink = githubscm.createPR(prTitle, prBody, getBuildBranch(), getGitAuthorCredsId()) + sendNotification("PR to update Quarkus 3 environment has been created.\nHere is the PR link: ${prLink}") + } + } + } + } + } + } + post { + unsuccessful { + sendErrorNotification() + } + cleanup { + script { + clean() + } + } + } +} + +void clean() { + sh 'rm -rf ~/.rewrite-cache/' + util.cleanNode('docker') +} + +void sendErrorNotification() { + mailer.sendMarkdownTestSummaryNotification('quarkus-3', "[${getBuildBranch()}] KIE JPMML integration", [env.KOGITO_CI_EMAIL_TO]) +} + +void sendNotification(String body) { + emailext body: "${body}", + subject: "[${getBuildBranch()}] KIE JPMML integration - quarkus-3", + to: env.KOGITO_CI_EMAIL_TO +} + +void checkoutRepo(String repository, String branch) { + checkout(githubscm.resolveRepository(repository, getGitAuthor(), branch, false)) + // need to manually checkout branch since on a detached branch after checkout command + sh "git checkout ${branch}" +} + +String getRepoName() { + return env.REPO_NAME +} + +String getGitAuthor() { + // GIT_AUTHOR can be env or param + return "${GIT_AUTHOR}" +} + +String getBuildBranch() { + return params.BUILD_BRANCH_NAME +} + +String getBaseAuthor() { + return env.BASE_AUTHOR +} + +String getBaseBranch() { + return env.BASE_BRANCH +} + +boolean isPRSourceBranch() { + return params.IS_PR_SOURCE_BRANCH +} + +String getGitAuthorCredsId() { + return env.AUTHOR_CREDS_ID +} + +String getPRBranch() { + return "${getBuildBranch()}-${env.PR_BRANCH_HASH}" +} + +MavenCommand getMavenCommand() { + return new MavenCommand(this, ['-fae', '-ntp']) + .withSettingsXmlId(env.MAVEN_SETTINGS_CONFIG_FILE_ID) + .withOptions(env.BUILD_MVN_OPTS ? [ env.BUILD_MVN_OPTS ] : []) +} From 0c16a6ff88dbcfa81fc85f1ff2170a5071734e1b Mon Sep 17 00:00:00 2001 From: radtriste Date: Tue, 29 Aug 2023 14:57:59 +0200 Subject: [PATCH 3/7] updated --- .ci/environments/common/update_quarkus.sh | 3 +-- .ci/environments/quarkus-3/before.sh | 14 +++++------ .ci/environments/quarkus-3/project-recipe.yml | 23 +++++++++++++++++++ .ci/jenkins/dsl/jobs.groovy | 1 - 4 files changed, 31 insertions(+), 10 deletions(-) create mode 100644 .ci/environments/quarkus-3/project-recipe.yml diff --git a/.ci/environments/common/update_quarkus.sh b/.ci/environments/common/update_quarkus.sh index dc18743..da70e9a 100755 --- a/.ci/environments/common/update_quarkus.sh +++ b/.ci/environments/common/update_quarkus.sh @@ -10,5 +10,4 @@ echo "Update project with Quarkus version ${QUARKUS_VERSION}" set -x # Update with Quarkus version and commit -${mvn_cmd} versions:compare-dependencies -pl :drools-build-parent -DremotePom=io.quarkus:quarkus-bom:${QUARKUS_VERSION} -DupdatePropertyVersions=true -DupdateDependencies=true -DgenerateBackupPoms=false -${mvn_cmd} versions:set-property -pl :drools-build-parent -Dproperty=version.io.quarkus -DnewVersion=${QUARKUS_VERSION} -DgenerateBackupPoms=false -Dmaven.wagon.http.ssl.insecure=true +# Nothing to do here diff --git a/.ci/environments/quarkus-3/before.sh b/.ci/environments/quarkus-3/before.sh index 14e515a..ade4e2d 100755 --- a/.ci/environments/quarkus-3/before.sh +++ b/.ci/environments/quarkus-3/before.sh @@ -52,13 +52,13 @@ ${mvn_cmd} org.openrewrite.maven:rewrite-maven-plugin:${rewrite_plugin_version}: -DplainTextMasks=**/kmodule.xml # Update dependencies with Quarkus 3 bom -${mvn_cmd} \ - -pl :drools-build-parent \ - -DremotePom=io.quarkus:quarkus-bom:${quarkus_version} \ - -DupdatePropertyVersions=true \ - -DupdateDependencies=true \ - -DgenerateBackupPoms=false \ - versions:compare-dependencies +# ${mvn_cmd} \ +# -pl :drools-build-parent \ +# -DremotePom=io.quarkus:quarkus-bom:${quarkus_version} \ +# -DupdatePropertyVersions=true \ +# -DupdateDependencies=true \ +# -DgenerateBackupPoms=false \ +# versions:compare-dependencies # Create the `patches/0001_before_sh.patch` file git add . diff --git a/.ci/environments/quarkus-3/project-recipe.yml b/.ci/environments/quarkus-3/project-recipe.yml new file mode 100644 index 0000000..2bb9c60 --- /dev/null +++ b/.ci/environments/quarkus-3/project-recipe.yml @@ -0,0 +1,23 @@ +# +# Copyright 2021 the original author or authors. +#

+# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +#

+# https://www.apache.org/licenses/LICENSE-2.0 +#

+# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +--- +type: specs.openrewrite.org/v1beta/recipe +name: org.kie.drools.Quarkus3Migration +displayName: All Quarkus 3 Migration for Drools project +recipeList: + - org.openrewrite.maven.ChangePropertyValue: + key: version.org.jpmml.evaluator + newValue: 1.6.4 diff --git a/.ci/jenkins/dsl/jobs.groovy b/.ci/jenkins/dsl/jobs.groovy index a7193fd..20ad8c2 100644 --- a/.ci/jenkins/dsl/jobs.groovy +++ b/.ci/jenkins/dsl/jobs.groovy @@ -195,7 +195,6 @@ void setupPromoteJob(JobType jobType) { } } -// TODO to enable once Quarkus 3 migration is needed void setupPrQuarkus3RewriteJob() { def jobParams = JobParamsUtils.getBasicJobParamsWithEnv(this, 'kie-jpmml-integration.rewrite', JobType.PULL_REQUEST, 'quarkus-3', "${jenkins_path}/Jenkinsfile.quarkus-3.rewrite.pr", 'KIE jpmml integration Quarkus 3 rewrite patch regeneration') JobParamsUtils.setupJobParamsDefaultMavenConfiguration(this, jobParams) From 1e3e8d984ac766c99498d71b08aab0246db99c9c Mon Sep 17 00:00:00 2001 From: Jenkins CI Date: Tue, 29 Aug 2023 09:04:25 -0400 Subject: [PATCH 4/7] [Quarkus 3] Updated rewrite data --- .../quarkus-3/patches/0001_before_sh.patch | 13 +++++++++++++ .ci/environments/quarkus-3/quarkus3.yml | 16 +++++++++++++--- 2 files changed, 26 insertions(+), 3 deletions(-) diff --git a/.ci/environments/quarkus-3/patches/0001_before_sh.patch b/.ci/environments/quarkus-3/patches/0001_before_sh.patch index e69de29..78ebbbd 100644 --- a/.ci/environments/quarkus-3/patches/0001_before_sh.patch +++ b/.ci/environments/quarkus-3/patches/0001_before_sh.patch @@ -0,0 +1,13 @@ +diff --git a/pom.xml b/pom.xml +index 0c0f0f1..cb07444 100644 +--- a/pom.xml ++++ b/pom.xml +@@ -48,7 +48,7 @@ + + + +- 1.5.1 ++ 1.6.4 + + + diff --git a/.ci/environments/quarkus-3/quarkus3.yml b/.ci/environments/quarkus-3/quarkus3.yml index 38dd3c5..a890efd 100644 --- a/.ci/environments/quarkus-3/quarkus3.yml +++ b/.ci/environments/quarkus-3/quarkus3.yml @@ -6,6 +6,7 @@ recipeList: key: version.io.quarkus, newValue: 3.0.0.Final } +- org.kie.drools.Quarkus3Migration - org.kie.ManagedDependencies - io.quarkus.updates.core.quarkus30.UpgradeQuarkiverse - org.openrewrite.java.migrate.jakarta.JavaxActivationMigrationToJakartaActivation @@ -58,10 +59,18 @@ tags: [ quarkus ] --- -displayName: Update Managed Dependencies -name: org.kie.ManagedDependencies -description: Update all managed dependencies based on dependency updates from Quarkus. type: specs.openrewrite.org/v1beta/recipe +name: org.kie.drools.Quarkus3Migration +displayName: All Quarkus 3 Migration for Drools project +recipeList: +- org.openrewrite.maven.ChangePropertyValue: { + key: version.org.jpmml.evaluator, + newValue: 1.6.4 + } +--- +description: Update all managed dependencies based on dependency updates from Quarkus. +name: org.kie.ManagedDependencies +displayName: Update Managed Dependencies recipeList: - org.openrewrite.maven.ChangeManagedDependencyGroupIdAndArtifactId: { oldGroupId: javax.activation, @@ -446,6 +455,7 @@ recipeList: newGroupId: org.keycloak, newArtifactId: keycloak-admin-client-jakarta } +type: specs.openrewrite.org/v1beta/recipe --- type: specs.openrewrite.org/v1beta/recipe name: io.quarkus.updates.core.quarkus30.UpgradeQuarkiverse From 044d53a028df70476a0bd191d93260b909c8f04a Mon Sep 17 00:00:00 2001 From: radtriste Date: Tue, 29 Aug 2023 15:41:25 +0200 Subject: [PATCH 5/7] correction --- .ci/environments/quarkus-3/after.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.ci/environments/quarkus-3/after.sh b/.ci/environments/quarkus-3/after.sh index 30e1c02..54efba4 100755 --- a/.ci/environments/quarkus-3/after.sh +++ b/.ci/environments/quarkus-3/after.sh @@ -10,4 +10,5 @@ project_version=$(mvn -q -Dexpression=project.version -DforceStdout help:evaluat new_version=$(echo ${project_version} | awk -F. -v OFS=. '{$1 += 1 ; print}') # Change version -${mvn_cmd} -e -N -DnewVersion=${new_version} -DallowSnapshots=true -DgenerateBackupPoms=false versions:set \ No newline at end of file +${mvn_cmd} -fae -N -e versions:update-parent -Dfull -DparentVersion="[${new_version}]" -DallowSnapshots=true -DgenerateBackupPoms=false +${mvn_cmd} -fae -N -e versions:update-child-modules -Dfull -DallowSnapshots=true -DgenerateBackupPoms=false From 569e53a521de7ec170e39cd6228a22774b15dffc Mon Sep 17 00:00:00 2001 From: radtriste Date: Tue, 29 Aug 2023 16:21:23 +0200 Subject: [PATCH 6/7] Setup patch --- .ci/environments/quarkus-3/after.sh | 1 + .../0002_jpmml_evaluator_changes.patch | 96 +++++++++++++++++++ 2 files changed, 97 insertions(+) create mode 100644 .ci/environments/quarkus-3/patches/0002_jpmml_evaluator_changes.patch diff --git a/.ci/environments/quarkus-3/after.sh b/.ci/environments/quarkus-3/after.sh index 54efba4..9db765f 100755 --- a/.ci/environments/quarkus-3/after.sh +++ b/.ci/environments/quarkus-3/after.sh @@ -10,5 +10,6 @@ project_version=$(mvn -q -Dexpression=project.version -DforceStdout help:evaluat new_version=$(echo ${project_version} | awk -F. -v OFS=. '{$1 += 1 ; print}') # Change version +set -x ${mvn_cmd} -fae -N -e versions:update-parent -Dfull -DparentVersion="[${new_version}]" -DallowSnapshots=true -DgenerateBackupPoms=false ${mvn_cmd} -fae -N -e versions:update-child-modules -Dfull -DallowSnapshots=true -DgenerateBackupPoms=false diff --git a/.ci/environments/quarkus-3/patches/0002_jpmml_evaluator_changes.patch b/.ci/environments/quarkus-3/patches/0002_jpmml_evaluator_changes.patch new file mode 100644 index 0000000..74d6f71 --- /dev/null +++ b/.ci/environments/quarkus-3/patches/0002_jpmml_evaluator_changes.patch @@ -0,0 +1,96 @@ +diff --git a/kie-dmn-jpmml/pom.xml b/kie-dmn-jpmml/pom.xml +index 5a05845..6b65c77 100644 +--- a/kie-dmn-jpmml/pom.xml ++++ b/kie-dmn-jpmml/pom.xml +@@ -3,7 +3,7 @@ + + org.kie + kie-jpmml-integration +- 8.44.0-SNAPSHOT ++ 9.44.0-SNAPSHOT + ../pom.xml + + kie-dmn-jpmml +@@ -46,12 +46,6 @@ + provided + true + +- +- org.jpmml +- pmml-evaluator-extension +- provided +- true +- + + + +diff --git a/kie-dmn-jpmml/src/main/java/org/kie/dmn/jpmml/DMNjPMMLInvocationEvaluator.java b/kie-dmn-jpmml/src/main/java/org/kie/dmn/jpmml/DMNjPMMLInvocationEvaluator.java +index 8df10be..6b1aa76 100644 +--- a/kie-dmn-jpmml/src/main/java/org/kie/dmn/jpmml/DMNjPMMLInvocationEvaluator.java ++++ b/kie-dmn-jpmml/src/main/java/org/kie/dmn/jpmml/DMNjPMMLInvocationEvaluator.java +@@ -24,8 +24,7 @@ import java.util.Map; + import java.util.Map.Entry; + import java.util.function.Supplier; + +-import org.dmg.pmml.FieldName; +-import org.jpmml.evaluator.visitors.DefaultModelEvaluatorBattery; ++import org.jpmml.evaluator.visitors.ModelEvaluatorVisitorBattery; + import org.jpmml.evaluator.EvaluatorUtil; + import org.jpmml.evaluator.FieldValue; + import org.jpmml.evaluator.InputField; +@@ -53,7 +52,7 @@ public class DMNjPMMLInvocationEvaluator extends AbstractPMMLInvocationEvaluator + super(dmnNS, node, pmmlResource, model); + LoadingModelEvaluatorBuilder builder = new LoadingModelEvaluatorBuilder(); + try (InputStream documentStream = documentResource.getInputStream()) { +- Supplier visitors = () -> new DefaultModelEvaluatorBattery(); ++ Supplier visitors = ModelEvaluatorVisitorBattery::new; + evaluator = builder.setLocatable(false) + .setVisitors(visitors.get()) + .load(documentStream) +@@ -66,16 +65,16 @@ public class DMNjPMMLInvocationEvaluator extends AbstractPMMLInvocationEvaluator + public EvaluatorResult evaluate(DMNRuntimeEventManager eventManager, DMNResult dmnr) { + List inputFields = evaluator.getInputFields(); + +- Map arguments = new LinkedHashMap<>(); ++ Map arguments = new LinkedHashMap<>(); + for (InputField inputField : inputFields) { +- FieldName inputName = inputField.getName(); +- Object rawValue = getValueForPMMLInput(dmnr, inputName.getValue()); ++ String inputName = inputField.getName(); ++ Object rawValue = getValueForPMMLInput(dmnr, inputName); + FieldValue inputValue = inputField.prepare(rawValue); + LOG.trace("{}", inputName); + LOG.trace("{}", inputValue); + arguments.put(inputName, inputValue); + } +- Map results = evaluator.evaluate(arguments); ++ Map results = evaluator.evaluate(arguments); + Map resultsRecord = EvaluatorUtil.decodeAll(results); + + Map result = new HashMap<>(); +@@ -85,7 +84,7 @@ public class DMNjPMMLInvocationEvaluator extends AbstractPMMLInvocationEvaluator + } + } else { + for (OutputField of : evaluator.getOutputFields()) { +- String outputFieldName = of.getName().getValue(); ++ String outputFieldName = of.getName(); + result.put(outputFieldName, EvalHelper.coerceNumber(resultsRecord.getOrDefault(outputFieldName, null))); + } + } +diff --git a/pom.xml b/pom.xml +index 90e4c41..8fb534d 100644 +--- a/pom.xml ++++ b/pom.xml +@@ -58,11 +58,7 @@ + pmml-evaluator + ${version.org.jpmml.evaluator} + +- +- org.jpmml +- pmml-evaluator-extension +- ${version.org.jpmml.evaluator} +- ++ + + + From a46e64de2adac38fdf672b49bc4a7d658097bae1 Mon Sep 17 00:00:00 2001 From: radtriste Date: Wed, 30 Aug 2023 11:24:04 +0200 Subject: [PATCH 7/7] corrected patch --- .../quarkus-3/patches/0002_jpmml_evaluator_changes.patch | 9 --------- 1 file changed, 9 deletions(-) diff --git a/.ci/environments/quarkus-3/patches/0002_jpmml_evaluator_changes.patch b/.ci/environments/quarkus-3/patches/0002_jpmml_evaluator_changes.patch index 74d6f71..b88f73a 100644 --- a/.ci/environments/quarkus-3/patches/0002_jpmml_evaluator_changes.patch +++ b/.ci/environments/quarkus-3/patches/0002_jpmml_evaluator_changes.patch @@ -2,15 +2,6 @@ diff --git a/kie-dmn-jpmml/pom.xml b/kie-dmn-jpmml/pom.xml index 5a05845..6b65c77 100644 --- a/kie-dmn-jpmml/pom.xml +++ b/kie-dmn-jpmml/pom.xml -@@ -3,7 +3,7 @@ - - org.kie - kie-jpmml-integration -- 8.44.0-SNAPSHOT -+ 9.44.0-SNAPSHOT - ../pom.xml - - kie-dmn-jpmml @@ -46,12 +46,6 @@ provided true