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:
Emmanuel Venisse 2005-09-07 12:29:48 +00:00
parent ab5b7e704d
commit 0dbb8eeda8
1 changed files with 1 additions and 0 deletions

View File

@ -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;