[ http://jira.codehaus.org/browse/MNG-446?page=comments#action_40551 ] Brett Porter commented on MNG-446: ----------------------------------
It seems it only creates it if it doesn't exist. I can't see how this is related to mboot as it should be done independantly. Please review my commits to SnapshotTransformation in evaluating this - there may have been a reason I documented in the commit message as to why it is not writing out the snapshot version, but it seems incorrect. > install:install doesn't update SNAPSHOT.version.txt when it exists in local > repo > -------------------------------------------------------------------------------- > > Key: MNG-446 > URL: http://jira.codehaus.org/browse/MNG-446 > Project: Maven 2 > Type: Bug > Components: maven-artifact > Reporter: John Casey > Assignee: John Casey > Fix For: 2.0-alpha-3 > > > I'm logging this here mainly so I don't forget about it while I'm working on > my original problem... > steps to reproduce: > 1. bootstrap m2 > 2. make an api change to plexus that will affect m2 > 3. run 'm2 install' for the plexus project (plexus-container-default in my > case) > 4. try to bootstrap m2 again. > From what I can tell, the ArtifactInstaller is not updating the version in > plexus-container-default-1.0-alpha-4-SNAPSHOT.version.txt with > 1.0-alpha-4-SNAPSHOT (the locally installed snaphsot's artifact version). > This means that the newly installed version of plexus will never be used. > It may be more of an mboot issue, since the problem I'm having is in the > bootstrap while it's building maven-core...actually, this is the current > locus of the problem, but I find it worrisome that in tracing the > install:install process I can't find a place where it's updating that file... > Anyway, as soon as I get the plexus container stuff in place I'll come back > to this. -- 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]
