[ http://jira.codehaus.org/browse/MNG-452?page=all ]
Brett Porter closed MNG-452:
----------------------------
Assign To: Brett Porter
Resolution: Cannot Reproduce
Fix Version: (was: 2.0-beta-2)
I took the use case for a spin and the local install persists. Fixed!
> --update-snapshots overwrites metadata from locally-installed snapshot
> artifacts
> --------------------------------------------------------------------------------
>
> Key: MNG-452
> URL: http://jira.codehaus.org/browse/MNG-452
> Project: Maven 2
> Type: Bug
> Components: maven-artifact
> Reporter: John Casey
> Assignee: Brett Porter
>
>
> this appears to be a problem with detection of newer snapshot metadata
> installed on the local repo.
> to reproduce:
> 1. make an api change in a m2 dependency (I found this by making an api
> change to plexus-container-default)
> 2. build the changed api using 'm2 install' to install the SNAPSHOT artifact
> locally
> 3. bootstrap m2.
> (at this point, if you look at the .version.txt file for that artifact, you
> should see a timestamped build from the repository in place of your -SNAPSHOT
> version from the local install)
> 4. bootstrap m2 again.
> On the second run of the bootstrap, you'll get all kinds of compilation
> errors, as the api changes you've made to maven in accordance with the new
> api of your dependency (plexus in my case) are rolled back in the local repo.
--
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]