mirror of https://github.com/apache/maven.git
o Fixed inheritance to exclude project name
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@777237 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
e4d52d6c28
commit
3f59f88d86
|
@ -76,6 +76,19 @@ public class MavenModelMerger
|
||||||
|
|
||||||
super.mergeModel( target, source, sourceDominant, context );
|
super.mergeModel( target, source, sourceDominant, context );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
protected void mergeModel_Name( Model target, Model source, boolean sourceDominant, Map<Object, Object> context )
|
||||||
|
{
|
||||||
|
String src = source.getName();
|
||||||
|
if ( src != null )
|
||||||
|
{
|
||||||
|
if ( sourceDominant )
|
||||||
|
{
|
||||||
|
target.setName( src );
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected void mergeModel_Url( Model target, Model source, boolean sourceDominant, Map<Object, Object> context )
|
protected void mergeModel_Url( Model target, Model source, boolean sourceDominant, Map<Object, Object> context )
|
||||||
|
|
Loading…
Reference in New Issue