in src/main/java/org/apache/maven/plugins/jlink/AbstractJLinkToolchainExecutor.java [100:110]
static Commandline createJLinkCommandLine(File jlinkExecutable, List<String> jlinkArgs) {
Commandline cmd = new Commandline();
// Don't quote every argument with single quote, but instead quote them with double quotes
// and enclose all of them with single quotes to then be passed to the shell command as
// /bin/sh -c '<all arguments, each one quoted with double quotes>'
cmd.getShell().setQuotedArgumentsEnabled(false);
String jlinkArgsStr = jlinkArgs.stream().map(arg -> "\"" + arg + "\"").collect(Collectors.joining(" "));
cmd.setExecutable(jlinkExecutable.getAbsolutePath() + " " + jlinkArgsStr);
return cmd;
}