mirror of https://github.com/apache/maven.git
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:
parent
9982d6b8c7
commit
e046650597
|
@ -149,7 +149,7 @@ public final class ArtifactModelContainerFactory
|
|||
type = "jar";
|
||||
}
|
||||
|
||||
if ( scope == null )
|
||||
if ( scope == null || scope.equals("provided"))
|
||||
{
|
||||
scope = "compile";
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue