Hello,

To circumvent bug MNG-3092 (1), I applied the patch file given in the JIRA 
issue to all possible versions of org.apache.maven:maven-artifact. This 
resulted in patched versions 2.0, [2.0.2-2.0.9] in my local repository.

(1) http://jira.codehaus.org/browse/MNG-3092

After doing this, I went back to my test project be.telenet.test:srv.a that has 
a dependency to be.telenet.test:common:[8.3,8.4). My local repository contains 
versions 8.3.0, 8.3.1 and 8.3.2-SNAPSHOT of module common. The patch should 
exclude snapshots, but running "mvn dependency:list" on my project srv.a gives 
the following output:

[INFO] [dependency:list]
[INFO]
[INFO] The following files have been resolved:
[INFO] be.telenet.test:common:jar:8.3.2-SNAPSHOT:compile
[INFO] junit:junit:jar:3.8.1:test

So I am quite puzzled why the SNAPSHOT version is still picked up. Is there any 
other code in Maven besides maven-artifact that handles versioning and version 
selection?

Ringo

P.S. Apologies for the pesky disclaimer that the mail server appends below! It 
is beyond my control...

*************************************************************

Dit e-mail bericht inclusief eventuele ingesloten bestanden kan informatie 
bevatten die vertrouwelijk is en/of beschermd door intellectuele 
eigendomsrechten. Dit bericht is uitsluitend bestemd voor de geadresseerde(n). 
Elk gebruik van de informatie vervat in dit bericht (waaronder de volledige of 
gedeeltelijke reproductie of verspreiding onder elke vorm) door andere personen 
dan de geadresseerde(n) is verboden. Indien u dit bericht per vergissing heeft 
ontvangen, gelieve de afzender hiervan te verwittigen en dit bericht te 
verwijderen. 

This e-mail and any attachment thereto may contain information which is 
confidential and/or protected by intellectual property rights and are intended 
for the sole use of the addressees. Any use of the information contained herein 
(including but not limited to total or partial reproduction or distribution in 
any form) by other persons than the addressees is prohibited. If you have 
received this e-mail in error, please notify the sender and delete its contents.

Ce courriel et les annexes �ventuelles peuvent contenir des informations 
confidentielles et/ou prot�g�es par des droits de propri�t� intellectuelle. Ce 
message est adress� exclusivement � son (ses) destinataire(s). Toute 
utilisation du contenu de ce message (y compris la reproduction ou diffusion 
partielle ou compl�te sous toute forme) par une autre personne que le(s) 
destinataire(s) est formellement interdite. Si vous avez re�u ce message par 
erreur, veuillez pr�venir l'exp�diteur du message et en d�truire le contenu.

*************************************************************

Reply via email to