ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From paul.newp...@targetgroup.net
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.ws 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
these.

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
www.targetgroup.net
 
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

**********************************************************************
DISCLAIMER.
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 support@targetgroup.net.
**********************************************************************


_____________________________________________________________________
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
http://www.messagelabs.com

Mime
View raw message