Skip to content

Commit

Permalink
Try adjusting update command quoting for Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
gsmet committed Jun 15, 2023
1 parent 13c768b commit 7c3d717
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 7c3d717

Please sign in to comment.