public class Exec extends Object
| Constructor and Description |
|---|
Exec(org.apache.maven.plugin.Mojo mojo)
Creates a new Exec instance for executing an external process from the given
mojo.
|
| Modifier and Type | Method and Description |
|---|---|
int |
run(List<String> command,
List<String> output)
Runs the specified command and saves each line of the command's output to
the given list.
|
public Exec(org.apache.maven.plugin.Mojo mojo)
mojo - Mojo executing external processpublic int run(List<String> command, List<String> output)
command - List containing command and all argumentsoutput - List in/out parameter to receive command outputCopyright © 2018 CERN. All Rights Reserved.