mirror of
https://github.com/apache/maven-mvnd.git
synced 2025-09-26 23:45:47 +00:00
Move the code to set system properties to its own method, make sure it's called from JvmTestClient
This commit is contained in:
@@ -30,6 +30,7 @@ public class JvmTestClient extends DefaultClient {
|
||||
|
||||
@Override
|
||||
public ExecutionResult execute(ClientOutput output, List<String> argv) {
|
||||
setSystemPropertiesFromCommandLine(argv);
|
||||
final ExecutionResult delegate = super.execute(output, argv);
|
||||
if (output instanceof TestClientOutput) {
|
||||
return new JvmTestResult(delegate, ((TestClientOutput) output).messagesToString());
|
||||
|
Reference in New Issue
Block a user