If DependencyManagement section gave a dependency a scope of provided, then it would not join with a dependency with a scope of compile, causing Nexus build to fail. Fixed this rule for scopes of provided and compile to be treated as same type for purpose of joining.

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@719151 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Britton Isbell 2008-11-20 01:31:24 +00:00
parent 9982d6b8c7
commit e046650597
1 changed files with 1 additions and 1 deletions

View File

@ -149,7 +149,7 @@ public final class ArtifactModelContainerFactory
type = "jar";
}
if ( scope == null )
if ( scope == null || scope.equals("provided"))
{
scope = "compile";
}