#58 - Added CommandLine.Argument.debug() to run Maven in debug mode.
This commit is contained in:
@@ -176,6 +176,10 @@ class CommandLine {
|
|||||||
return Argument.of("-D".concat(name));
|
return Argument.of("-D".concat(name));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public static Argument debug() {
|
||||||
|
return Argument.of("-X");
|
||||||
|
}
|
||||||
|
|
||||||
public Argument withValue(Object value) {
|
public Argument withValue(Object value) {
|
||||||
return new Argument(name, ArgumentValue.of(value));
|
return new Argument(name, ArgumentValue.of(value));
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user