Plugin plugin = service.getPlugin(gav.artifactId);
if (plugin != null) {
forceInstall = false;
GAV pgav = new GAV(plugin.getArtifact());
VersionNumber currentPluginVersion = new VersionNumber(pgav.version);
if (currentPluginVersion.compareTo(pluginVersion) < 0) {
Node nf = nodeMap.getNamedItem("force-upgrade");
boolean forced = (nf != null && Boolean.parseBoolean(nf.getTextContent()));
if (forced) {
forceInstall = true;
} else {