if (force == null || !force.booleanValue()) {
System.out.println();
install = Helper.promptMatches("Do you want to install the latest version [" + newestVersion + "]: (y/n) ", "[yY].*");
}
System.out.println();
GAV newGAV = new GAV(gav.groupId, gav.artifactId, newestVersion.toString());
if (install) {
ACommand installPluginCmd = commandService.getCommand(Bees.SDK_PLUGIN_INSTALL);
System.out.println("Installing plugin: " + newGAV);
installPluginCmd.run(Arrays.asList(Bees.SDK_PLUGIN_INSTALL, newGAV.toString()));
} else {
System.out.println("You can install the latest version with:");
System.out.println("> bees " + Bees.SDK_PLUGIN_INSTALL + " " + newGAV.toString());
}
} else {
System.out.println("The latest version is already installed");
}
} catch (Exception e) {