params.add(String.format(WordPressCli.VERSION_PARAM, version));
}
// run
WordPressCli wpCli = WordPressCli.getDefault(false);
Future<Integer> result = wpCli.download(pm, params);
if (result != null) {
result.get();
}
} catch (InvalidPhpExecutableException ex) {
throw new ExtendingException(ex.getLocalizedMessage());