mirror of https://github.com/apache/maven.git
copy constructor needs to copy artifact reference
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@220068 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
5b63961d02
commit
edbc07c3fb
|
@ -146,6 +146,9 @@ public class MavenProject
|
|||
this.profileProperties = new Properties( project.profileProperties );
|
||||
|
||||
this.model = ModelUtils.cloneModel( project.model );
|
||||
|
||||
// TODO: need to clone this too?
|
||||
this.artifact = project.artifact;
|
||||
}
|
||||
|
||||
// ----------------------------------------------------------------------
|
||||
|
|
Loading…
Reference in New Issue