From 7c3d7175455edb55f3131c3b4966f67340af4360 Mon Sep 17 00:00:00 2001 From: Guillaume Smet Date: Thu, 15 Jun 2023 14:36:59 +0200 Subject: [PATCH] Try adjusting update command quoting for Windows --- .../devtools/project/update/QuarkusUpdateCommand.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/independent-projects/tools/devtools-common/src/main/java/io/quarkus/devtools/project/update/QuarkusUpdateCommand.java b/independent-projects/tools/devtools-common/src/main/java/io/quarkus/devtools/project/update/QuarkusUpdateCommand.java index 87eefe0f455de..9709f184cb539 100644 --- a/independent-projects/tools/devtools-common/src/main/java/io/quarkus/devtools/project/update/QuarkusUpdateCommand.java +++ b/independent-projects/tools/devtools-common/src/main/java/io/quarkus/devtools/project/update/QuarkusUpdateCommand.java @@ -111,11 +111,11 @@ private static String[] getMavenUpdateCommand(String mvnBinary, String rewritePl "-e", String.format("%s:%s:%s:%s", MAVEN_REWRITE_PLUGIN_GROUP, MAVEN_REWRITE_PLUGIN_ARTIFACT, rewritePluginVersion, dryRun ? "dryRun" : "run"), - String.format("-D\"plainTextMasks=%s\"", ADDITIONAL_SOURCE_FILES), - String.format("-D\"rewrite.configLocation=%s\"", recipe.toAbsolutePath()), - String.format("-D\"rewrite.recipeArtifactCoordinates=%s\"", recipesGAV), - String.format("-D\"activeRecipes=%s\"", RECIPE_IO_QUARKUS_OPENREWRITE_QUARKUS), - "-D\"rewrite.pomCacheEnabled=false\"" }; + String.format("-DplainTextMasks=%s", ADDITIONAL_SOURCE_FILES), + String.format("-Drewrite.configLocation=%s", recipe.toAbsolutePath()), + String.format("-Drewrite.recipeArtifactCoordinates=%s", recipesGAV), + String.format("-DactiveRecipes=%s", RECIPE_IO_QUARKUS_OPENREWRITE_QUARKUS), + "-Drewrite.pomCacheEnabled=false" }; } private static void executeCommand(Path baseDir, String[] command, MessageWriter log) throws QuarkusUpdateException {