mirror of
https://github.com/apache/maven-mvnd.git
synced 2026-01-14 07:03:54 +08:00
Add a mvnd.rawStreams property (#719)
This commit is contained in:
@@ -297,6 +297,11 @@ public class DefaultClient implements Client {
|
||||
return DefaultResult.success(argv);
|
||||
}
|
||||
|
||||
// Raw streams
|
||||
if (Environment.MVND_RAW_STREAMS.removeCommandLineOption(args) != null) {
|
||||
args.add("-D" + Environment.MVND_RAW_STREAMS.getProperty());
|
||||
}
|
||||
|
||||
Optional<String> threads = Optional.ofNullable(Environment.MVND_THREADS.removeCommandLineOption(args));
|
||||
Environment.MVND_THREADS.addCommandLineOption(args, threads.orElseGet(parameters::threads));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user