ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject How to force an exact version and avoid eviction by a later version
Date Fri, 27 Jun 2008 08:56:55 GMT

I have this conflict in my project

com.springsource.javax.servlet by javax.servlet 2.5.0 2.4.0

Version 2.5.0 is required by org.springframework.oxm

As I'm running in a 2.4 servlet container I definitely don't want either a
2.5.0 or a 2.4.0 jar in my WEB-INF/lib, as the app server will provide

I did have this in my ivy file:

dependency org="javax.servlet" name="com.springsource.javax.servlet"
rev="2.4.0" conf="default->provided"/>

to try and stop the download, but it gets evicted by the 2.5.0 jar that
org.springframework.oxm requires.

How can I stop the jar downloads ?

Target is a trading name of Target Group Limited, 
registered in England and Wales No. 1208137
Registered office:  Target House, Cowbridge Road East, Cardiff CF11 9AU

This message is intended only for the use of the Addressee and may
contain information that is PRIVILEGED and CONFIDENTIAL. 
If you are not the intended recipient you must not copy, 
distribute or take any action or reliance upon it. 
The content of this message may also contain personal 
views of an employee of this company and does
not necessarily represent the view of the company.
This message has been scanned by Norton Anti-Virus. 
It has also been scanned by MAILsweeper to enforce our e-mail 
policy. If you have any concerns or comments about the content 
of this message, please  e-mail

This email has been scanned for all viruses by the MessageLabs Email
Security System. For more information on a proactive email security
service working around the clock, around the globe, visit

View raw message