Well, it should be. Actually Aether IS the maven 3 resolver.
On Fri, Jul 8, 2011 at 9:43 PM, Chris Dolan <[email protected]> wrote:
> I may be wrong, by I think that's true of Maven 3.x in general. When
> ${product.version} contains "-SNAPSHOT" and com.acme.foo-1.0-SNAPSHOT.jar
> is only local, then in my experience this fails:
>
> <dependency>
> <groupId>com.acme</groupId>
> <artifactId>foo</artifactId>
> <version>[${project.version}]</version>
> </dependency>
>
> and this succeeds:
>
> <dependency>
> <groupId>com.acme</groupId>
> <artifactId>foo</artifactId>
> <version>${project.version}</version>
> </dependency>
>
> Chris
>
>
> Harald 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.VersionRangeResolutionException: 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
> >
>
>
>
> _______________________________________________
> general mailing list
> [email protected]
> 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