Skip to content

Commit 695f2fc

Browse files
authored
Merge pull request #34056 from gsmet/fix-update-quoting
Adjust update command quoting for Windows
2 parents 7c2b986 + 7c3d717 commit 695f2fc

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -111,11 +111,11 @@ private static String[] getMavenUpdateCommand(String mvnBinary, String rewritePl
111111
"-e",
112112
String.format("%s:%s:%s:%s", MAVEN_REWRITE_PLUGIN_GROUP, MAVEN_REWRITE_PLUGIN_ARTIFACT, rewritePluginVersion,
113113
dryRun ? "dryRun" : "run"),
114-
String.format("-D\"plainTextMasks=%s\"", ADDITIONAL_SOURCE_FILES),
115-
String.format("-D\"rewrite.configLocation=%s\"", recipe.toAbsolutePath()),
116-
String.format("-D\"rewrite.recipeArtifactCoordinates=%s\"", recipesGAV),
117-
String.format("-D\"activeRecipes=%s\"", RECIPE_IO_QUARKUS_OPENREWRITE_QUARKUS),
118-
"-D\"rewrite.pomCacheEnabled=false\"" };
114+
String.format("-DplainTextMasks=%s", ADDITIONAL_SOURCE_FILES),
115+
String.format("-Drewrite.configLocation=%s", recipe.toAbsolutePath()),
116+
String.format("-Drewrite.recipeArtifactCoordinates=%s", recipesGAV),
117+
String.format("-DactiveRecipes=%s", RECIPE_IO_QUARKUS_OPENREWRITE_QUARKUS),
118+
"-Drewrite.pomCacheEnabled=false" };
119119
}
120120

121121
private static void executeCommand(Path baseDir, String[] command, MessageWriter log) throws QuarkusUpdateException {

0 commit comments

Comments
 (0)