Am 08.07.2011 21:39, schrieb Toni Menzel:
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 ?

Hi Toni,

yes, it does make sense for Pax Exam completely rely on Aether.

But then I'm a bit confused about Aether's behaviour.

The Maven Reference isn't too explicit about SNAPSHOTs in version ranges:

http://www.sonatype.com/books/mvnref-book/reference/pom-relationships-sect-project-dependencies.html#pom-relationships-sect-version-ranges

The only relevant piece of information I could find is this issue:
http://jira.codehaus.org/browse/MNG-4751


Does Maven have some other syntax for "latest release or snapshot" or is there anything Pax could do using some other features of the Aether API?

There used to be meta-versions LATEST and RELEASE, but I'm not sure if they are deprecated in Maven 3.

Anyway, I'm now using mavenBundle("com.acme", "foo").versionAsInProject(), which works both for snapshots and for releases.

Regards,
Harald

_______________________________________________
general mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/general

Reply via email to