changeDependencyVersion(ns, dependency);
}
}
private void changeDependencyVersion(Namespace ns, Element dependency) {
ModuleName moduleName = extractModuleName(dependency, ns);
if (versionsByModule.containsKey(moduleName)) {
setVersion(dependency, ns, versionsByModule.get(moduleName));
}
verifyNonSnapshotVersion(moduleName, dependency, ns);
}