[ http://jira.codehaus.org/browse/MNG-2061?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brett Porter closed MNG-2061. ----------------------------- Resolution: Fixed Fix Version/s: (was: 2.0.x) 2.0.8 > DistributionManagement properties don't get copied in cloned executionProject > while lifecycle fork > -------------------------------------------------------------------------------------------------- > > Key: MNG-2061 > URL: http://jira.codehaus.org/browse/MNG-2061 > Project: Maven 2 > Issue Type: Bug > Components: Plugins and Lifecycle > Affects Versions: 2.0.2 > Reporter: Max Feldman > Assignee: Brett Porter > Fix For: 2.0.8 > > Attachments: MNG-2061-maven-project.patch > > > Define a new Maven plugin with the goal described like this: > /** > * @execute phase="deploy" > * @goal deploy-custom > */ > When running 'mvn deploy-custom', deploy phase execution fails with 'Class > 'org.apache.maven.artifact.repository.ArtifactRepository' cannot be > instantiated'. > It seems the problem raises from the fact that > releaseArtifactRepository/snapshotArtifactRepository don't get copied in the > cloned executionProject while lifecycle fork. -- 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