Artifact must be cloned too in MavenProject's constructor
---------------------------------------------------------
Key: MNG-1335
URL: http://jira.codehaus.org/browse/MNG-1335
Project: Maven 2
Type: Bug
Components: maven-project
Versions: 2.0
Reporter: Vincent Massol
Fix For: 2.0.1
In MavenProject.java, line 189 there is:
// TODO: need to clone this too?
this.artifact = project.artifact;
The answer is yes. It seems that without the clone it is causing an issue when
the clover plugin is used. After the clover mojos return the install phase
fails to deploy the artifact as it points to some invalid location. That's
probbaly because it's been overwritten by the clover mojos during the forked
lifecycle.
--
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]