Guillaume, You are right, this is a bug. Version range should not resolve to a snapshot unless included in the range specification. See MNG-3092, MNG-3351, MNG-3372, MNG-2994, MRELEASE-262, possibly more...
There is work going on to resolve these, please check the jira's and help if you can. Regards, Dave -----Original Message----- From: Guillaume Lederrey [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 23, 2008 10:14 AM To: Maven Users List Subject: Dependency range and SNAPSHOT I'm trying to understand how version range work. I have a parent pom that define version in its dependencyManagement section. For one of my project, it defines it as : [0.1.2,) When doing a "mvn dependency:resolve", I see that it is resolved to 0.1.3-SNAPSHOT. I agree that 0.1.3-SNAPSHOT is newer than 0.1.2, but when reading http://docs.codehaus.org/display/MAVEN/Dependency+Mediation+and+Conflict +Resolution I had the impression that ranges should not resolve to SNAPSHOT dependencies. Did I misunderstood the documentation ? Or did I do something wrong ? Where should I be looking ? Thanks ! MrG -- Jabber : [EMAIL PROTECTED] Skype : Guillaume.Lederrey Projects : * http://rwanda.wordpress.com/ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
