Skip to content

Commit 3ab88f5

Browse files
authored
Merge pull request quarkusio#41121 from gsmet/rewrite-outdated-config
Avoid using outdated OpenRewrite config in quarkus update
2 parents 79c5ac6 + 634a851 commit 3ab88f5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

independent-projects/tools/devtools-common/src/main/java/io/quarkus/devtools/project/update/rewrite/QuarkusUpdateCommand.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -154,10 +154,10 @@ private static List<String> getMavenUpdateCommand(String mvnBinary, String rewri
154154
command.add(
155155
String.format("%s:%s:%s:%s", MAVEN_REWRITE_PLUGIN_GROUP, MAVEN_REWRITE_PLUGIN_ARTIFACT, rewritePluginVersion,
156156
dryRun ? "dryRun" : "run"));
157-
command.add(String.format("-DplainTextMasks=%s", ADDITIONAL_SOURCE_FILES));
157+
command.add(String.format("-Drewrite.plainTextMasks=%s", ADDITIONAL_SOURCE_FILES));
158158
command.add(String.format("-Drewrite.configLocation=%s", recipe.toAbsolutePath()));
159159
command.add(String.format("-Drewrite.recipeArtifactCoordinates=%s", recipesGAV));
160-
command.add(String.format("-DactiveRecipes=%s", RECIPE_IO_QUARKUS_OPENREWRITE_QUARKUS));
160+
command.add(String.format("-Drewrite.activeRecipes=%s", RECIPE_IO_QUARKUS_OPENREWRITE_QUARKUS));
161161
command.add("-Drewrite.pomCacheEnabled=false");
162162
final String mavenSettings = getMavenSettingsArg();
163163
if (mavenSettings != null) {

0 commit comments

Comments
 (0)