'lo all, A question on version ranges which is currently hurting my brain :)
In my repository I have version 1.2.0, 1.2.1, 1.2.2, 1.2.3, 1.2.4, 1.2.5, and 1.2.6-SNAPSHOT deployed. In my pom I have [1.2.0,) declared as the version range. This resolves to 1.2.0 whereas I really want 1.2.6-SNAPSHOT to be resolved and used. My understand is that this means "any version greater than 1.2.0" but I really want "the latest version greater than 1.2.0". When I use [1.2.5,) maven resolves 1.2.6-SNAPSHOT as I want, however this confuses me further as I would have expected it to find 1.2.5. Going from the other direction, I tried [,1.3.0) to say "anything up to, but not including 1.3.0" which I expected would return 1.2.6-SNAPSHOT, but I still got 1.2.0. Am I missing something simple here? I'm using maven 2.0.9. -- "It is easier to optimize correct code than to correct optimized code." -- Bill Harlan --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
