Issue Type: Bug Bug
Affects Versions: 1.3.1
Assignee: Unassigned
Created: 09/Aug/12 5:19 AM
Description:

Steps to reproduce:

You have 2 project A and B.
Project A has a dependency in pom.xml for B as a -SNAPSHOT

1. Clear local .m2 repository for project B (just to be on same page, please)

2. mvn deploy B

  • this will create "*-SNAPTHOT.jar" version of B in local repository
    3. versions:lock-snapshots on top of A
    4. mvn deploy B again
    5. versions:unlock-snapshots & versions:lock-snapshots on top of A will NOT work
  • this will do nothing. The version will stay on -SNAPSHOT from step 3)

workaround 1: delete maven-metadata-local.xml from .m2 repo of project B

this may be related to dependency resolution of maven itself:
http://jira.codehaus.org/browse/MNG-5087

The hotfix for this is to replace <maven-home>/lib/aether-*-1.11.jar's with their 1.12 equivalents.

^not working for me. The plugin versions stop to work entirely even after revert back to 1.11 aether version

Environment: Apache Maven 3.0.3 (r1075438; 2011-02-28 18:31:09+0100)
Java version: 1.6.0_32, vendor: Sun Microsystems Inc.
Project: Maven 2.x Versions Plugin
Priority: Major Major
Reporter: Stanislav Jursky
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
--------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email

Reply via email to