commandline.createArg().setValue("--skip-stat");
}
commandline.createArg().setValue(repositoryRoot.getPath());
log.debug("Executing \'" + commandline.toString() + "\'");
try {
int result = CommandLineUtils.executeCommandLine(commandline, NullStreamConsumer.theInstance, new LogStreamConsumer(log));
if (result != 0) {
throw new MojoExecutionException(createRepoCommand +" returned: \'" + result + "\' executing \'" + commandline + "\'");
}
} catch (CommandLineException e) {
throw new MojoExecutionException("Unable to execute: " + commandline, e);