[ http://jira.codehaus.org/browse/MNG-520?page=all ] Emmanuel Venisse closed MNG-520: --------------------------------
Assign To: Emmanuel Venisse Resolution: Fixed Applied. Thanks. > MavenProject(MavenProject) constructor does not copy the artifactId element > --------------------------------------------------------------------------- > > Key: MNG-520 > URL: http://jira.codehaus.org/browse/MNG-520 > Project: Maven 2 > Type: Bug > Components: maven-project > Versions: 2.0-alpha-3 > Reporter: Vincent Massol > Assignee: Emmanuel Venisse > Fix For: 2.0-beta-1 > Attachments: MavenProjectTest.java, maven-project.patch > > > When using the new @execute tag, m2 creates a new MavenProject instance. > Unfortunately it does not set the artifactId element on the new MavenProject > instance... BTW I don't know how this can have passed the integration tests > ;-) > Here is a patch attached (2 files). > I have decided to make the change in ModelUtils.clone(). Maybe it should be > made in DefaultModelInheritanceAssembler.assembleModelInheritance() instead > but I didn't know enough about the code to make the change there so I took > the safest solution... -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]