class DependencyUpdater {

    void updateDependencies(final List<Dependency> dependencies) {
        removeAllThatDoNotExist(dependencies);
        addTheOnesThatDoNotExist(dependencies);
        updateTheRest(dependencies);
    }

      DependencyUpdater(final List<org.apache.maven.model.Dependency> dependencies);

}