mirror of https://github.com/apache/maven.git
Problem in merging artifact containers, where one container specified a default type value (jar) and the other did not. They were treated as different types. Fixed this.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@718375 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
3fb0c8514f
commit
ed4083c93f
|
@ -146,12 +146,12 @@ public final class ArtifactModelContainerFactory
|
||||||
|
|
||||||
if ( type == null )
|
if ( type == null )
|
||||||
{
|
{
|
||||||
type = "";
|
type = "jar";
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( scope == null )
|
if ( scope == null )
|
||||||
{
|
{
|
||||||
scope = "";
|
scope = "compile";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue