[ http://jira.codehaus.org/browse/MNG-2061?page=all ]
Kenney Westerhof updated MNG-2061: ---------------------------------- Fix Version/s: (was: 2.0.5) 2.0.6 > 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 > Fix For: 2.0.6 > > > 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