GRADLE-2982: POM dependency management declarations with import scope shouldn't be overwritten by declaration of element group/artifactId/version with different scope.