Hi Harald, No version is changed to an open ranged version (see exception) string picking the latest release version. Not sure if another behavior makes sense. Resolving this version range is feature of Sonatype Aether, which is embedded in Pax URL. It would be a matter of Aether to change that behavior.
Hope this makes sense ? Wdyt ? Toni On Fri, Jul 8, 2011 at 9:12 PM, Harald Wellmann <[email protected]>wrote: > Bug or feature of Pax Exam? > > mavenBundle("com.acme", "foo", "0.0.1-SNAPSHOT") > > resolves correctly, > > mavenBundle("com.acme", "foo") > > throws an exception > > Caused by: org.sonatype.aether.**resolution.** > VersionRangeResolutionExceptio**n: Not highest version found for > com.acme:foo:jar:(0.0,] > at org.ops4j.pax.url.mvn.**internal.AetherBasedResolver.** > resolveLatestVersionRange(**AetherBasedResolver.java:264) > at org.ops4j.pax.url.mvn.**internal.AetherBasedResolver.** > resolve(AetherBasedResolver.**java:231) > ... 34 more > > The bundle only exists in my local repository, and there are no release > versions in any configured Maven repository. > > The issue occurs with both of Pax Exam 2.x and 1.x. > > Regards, > > Harald > > ______________________________**_________________ > general mailing list > [email protected] > http://lists.ops4j.org/**mailman/listinfo/general<http://lists.ops4j.org/mailman/listinfo/general> > -- Toni Menzel Source <http://tonimenzel.com>
_______________________________________________ general mailing list [email protected] http://lists.ops4j.org/mailman/listinfo/general
