Added single dependency resolution logic to DependencyManager to support exclusion functionality when creating a POM file.