@Override
protected boolean execute() throws Exception {
CommandServiceImpl service = (CommandServiceImpl) commandService;
String name = getPluginName();
Plugin plugin = service.getPlugin(name);
if (plugin != null) {
System.out.println();
System.out.println("Plugin: " + plugin.getArtifact());
String help = service.getHelp(plugin, "subcommands:", true);
System.out.println(help);
if (check()) {
GAV gav = new GAV(plugin.getArtifact());
return checkVersion(gav);
}
} else {
throw new IOException("Plugin not found: " + name);
}