private void mergeManagement(List<Dependency> target, List<Dependency> management) {
        resolveVersions(target, management);
        nextParentDep: for (Dependency parentDep: management) {
            for (Dependency dependency: target) {
                if (dependency.equalsIgnoreVersion(parentDep)) {
                    continue nextParentDep;
                }
            }
            target.add(new Dependency(parentDep));
        }
    }