mirror of https://github.com/apache/maven.git
Fix: Added a few cases to match dependency type on inheritance.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@695922 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
f12437531f
commit
6b19072489
|
@ -105,7 +105,10 @@ public final class ArtifactModelContainerFactory
|
|||
{
|
||||
this.groupId = mp.getResolvedValue();
|
||||
}
|
||||
else if ( mp.getUri().equals( ProjectUri.Dependencies.Dependency.type ) && type == null )
|
||||
else if ( type == null && mp.getUri().equals( ProjectUri.Dependencies.Dependency.type )
|
||||
|| mp.getUri().equals(ProjectUri.DependencyManagement.Dependencies.Dependency.type)
|
||||
|| mp.getUri().equals(ProjectUri.Build.PluginManagement.Plugins.Plugin.Dependencies.Dependency.type)
|
||||
|| mp.getUri().equals(ProjectUri.Build.Plugins.Plugin.Dependencies.Dependency.type))
|
||||
{
|
||||
this.type = mp.getResolvedValue();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue