You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "SlinnHawkins, Jon (ELS-CAM)" <J....@elsevier.com> on 2008/06/19 16:33:10 UTC

use highest version available ? Version Ranges ?

Initially posted this on the users list but didn’t get a response – so apologies for cross posting.

 

Hi, 

 

Is there any way of forcing a dependency to use the highest version available ?

 

For example : 

 

Does  "[4.0,)" grab the highest version above 4.0, or does it still use a “best fit” with the other dependencies in the tree

 

I’ve tried it and it appears to go for the highest version, I just want to be sure.

 

Also,  The version ranges do not seem to work in the dependencyManagement section – is this intentional ?

 

Thanks in advance

 

Jon




This email is from Elsevier Limited, a company registered in England and Wales with company number 1982084,
whose registered office is The Boulevard, Langford Lane, Kidlington, Oxford, OX5 1GB, United Kingdom.