mirror of https://github.com/apache/maven.git
[MNG-520]. copy artifactId when we clone a model.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@201989 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
8dacb55248
commit
ad7daa5d18
|
@ -268,6 +268,7 @@ public final class ModelUtils
|
||||||
ModelInheritanceAssembler assembler = new DefaultModelInheritanceAssembler();
|
ModelInheritanceAssembler assembler = new DefaultModelInheritanceAssembler();
|
||||||
assembler.assembleModelInheritance( newModel, model );
|
assembler.assembleModelInheritance( newModel, model );
|
||||||
newModel.setVersion( model.getVersion() );
|
newModel.setVersion( model.getVersion() );
|
||||||
|
newModel.setArtifactId( model.getArtifactId() );
|
||||||
return newModel;
|
return newModel;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue