From 634a8513b6d769f593b7ed93dfc4191cbfa0b576 Mon Sep 17 00:00:00 2001 From: Guillaume Smet Date: Tue, 11 Jun 2024 15:51:49 +0200 Subject: [PATCH] Avoid using outdated OpenRewrite config in quarkus update --- .../devtools/project/update/rewrite/QuarkusUpdateCommand.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/independent-projects/tools/devtools-common/src/main/java/io/quarkus/devtools/project/update/rewrite/QuarkusUpdateCommand.java b/independent-projects/tools/devtools-common/src/main/java/io/quarkus/devtools/project/update/rewrite/QuarkusUpdateCommand.java index f53c3def02dd4..debbf1f24e58d 100644 --- a/independent-projects/tools/devtools-common/src/main/java/io/quarkus/devtools/project/update/rewrite/QuarkusUpdateCommand.java +++ b/independent-projects/tools/devtools-common/src/main/java/io/quarkus/devtools/project/update/rewrite/QuarkusUpdateCommand.java @@ -154,10 +154,10 @@ private static List getMavenUpdateCommand(String mvnBinary, String rewri command.add( String.format("%s:%s:%s:%s", MAVEN_REWRITE_PLUGIN_GROUP, MAVEN_REWRITE_PLUGIN_ARTIFACT, rewritePluginVersion, dryRun ? "dryRun" : "run")); - command.add(String.format("-DplainTextMasks=%s", ADDITIONAL_SOURCE_FILES)); + command.add(String.format("-Drewrite.plainTextMasks=%s", ADDITIONAL_SOURCE_FILES)); command.add(String.format("-Drewrite.configLocation=%s", recipe.toAbsolutePath())); command.add(String.format("-Drewrite.recipeArtifactCoordinates=%s", recipesGAV)); - command.add(String.format("-DactiveRecipes=%s", RECIPE_IO_QUARKUS_OPENREWRITE_QUARKUS)); + command.add(String.format("-Drewrite.activeRecipes=%s", RECIPE_IO_QUARKUS_OPENREWRITE_QUARKUS)); command.add("-Drewrite.pomCacheEnabled=false"); final String mavenSettings = getMavenSettingsArg(); if (mavenSettings != null) {