mirror of https://github.com/apache/maven.git
Add packaging in clone method.
There are some other fields that don't have cloned git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@279308 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
ab5b7e704d
commit
0dbb8eeda8
|
@ -466,6 +466,7 @@ public final class ModelUtils
|
|||
newModel.setVersion( model.getVersion() );
|
||||
newModel.setArtifactId( model.getArtifactId() );
|
||||
newModel.setGroupId( model.getGroupId() );
|
||||
newModel.setPackaging( model.getPackaging() );
|
||||
newModel.setModules( cloneModules( model.getModules() ) );
|
||||
assembler.copyModel( newModel, model );
|
||||
return newModel;
|
||||
|
|
Loading…
Reference in New Issue