Skip to content

Commit 9969400

Browse files
committed
fix(maven-plugin): escape userProperties using double quotes
1 parent c008301 commit 9969400

File tree

1 file changed

+1
-1
lines changed
  • sofa-ark-parent/support/ark-maven-plugin/src/main/java/com/alipay/sofa/ark/boot/mojo

1 file changed

+1
-1
lines changed

sofa-ark-parent/support/ark-maven-plugin/src/main/java/com/alipay/sofa/ark/boot/mojo/RepackageMojo.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -484,7 +484,7 @@ private Set<ArtifactItem> doGetAllArtifactByMavenTree(MavenProject project) thro
484484
if (key instanceof String && StringUtils.equals("outputFile", (String) key)) {
485485
return;
486486
}
487-
goals.add(String.format("-D%s=%s", key, value));
487+
goals.add(String.format("-D%s=%s", key, "\"" + value + "\""));
488488
});
489489
}
490490

0 commit comments

Comments
 (0)