ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Neil Lott <neilmatthewl...@yahoo.com>
Subject conflicts
Date Thu, 14 Feb 2008 10:35:41 GMT
I have three configurations:

interface, server, test
server extends interface
test extends server

Here's my ivy.xml dependencies:

<dependencies>
         <dependency org="log4j" name="log4j" rev="1.2.8"  
conf="interface->default"/>

         <dependency org="jacorb" name="jacorb" rev="2.2.2"  
conf="server->default"/>
         <dependency org="jacorb" name="avalon-framework" rev="4.1.5"  
conf="server->default"/>
         <dependency org="jacorb" name="logkit" rev="1.2" conf="server- 
 >default"/>
	    <dependency org="jacorb" name="antlr" rev="2.7.2" conf="server- 
 >default"/>
         <dependency org="concurrent" name="concurrent" rev="1.3.2"  
conf="server->default"/>
         <dependency org="joda-time" name="joda-time" rev="1.5"  
conf="server->default"/>
		<dependency org="jaxb" name="jaxb-xjc" rev="2.1.3_2007_4_13"  
conf="server->default"/>
		<dependency org="jaxb" name="jaxb-impl" rev="2.1.3_2007_4_13"  
conf="server->default"/>
		<dependency org="jaxb" name="jaxb-activation" rev="2.1.3_2007_4_13"  
conf="server->default"/>
		<dependency org="jaxb" name="jaxb-jsr173" rev="2.1.3_2007_4_13"  
conf="server->default"/>
		<dependency org="jaxb" name="jaxb-api" rev="2.1.3_2007_4_13"  
conf="server->default"/>
		
         <dependency org="twc" name="msa4j" rev="1.0" conf="server- 
 >default"/>
         <dependency org="twc" name="isa" rev="1.4.4" conf="server- 
 >default"/>
         <dependency org="testng" name="testng" rev="5.7" conf="test- 
 >default"/>
     </dependencies>


Here's my output:

[ivy:retrieve] 	conflict on /Users/neil/Business/SnowyRangeConsulting/ 
projects/twc/depot/server/releases/main/ivylib/jaxb- 
xjc-2.1.3_2007_4_13.jar in [server, test]: 2.1.3_2007_4_13 won
[ivy:retrieve] 		removing conflict looser artifact: jaxb#jaxb-xjc; 
2.1.3_2007_4_13!jaxb-xjc.jar
[ivy:retrieve] 	conflict on /Users/neil/Business/SnowyRangeConsulting/ 
projects/twc/depot/server/releases/main/ivylib/log4j-1.2.8.jar in  
[interface, server, test]: 1.2.8 won
[ivy:retrieve] 		removing conflict looser artifact: log4j#log4j;1.2.8! 
log4j.jar
[ivy:retrieve] 		removing conflict looser artifact: log4j#log4j;1.2.8! 
log4j.jar
[ivy:retrieve] 	conflict on /Users/neil/Business/SnowyRangeConsulting/ 
projects/twc/depot/server/releases/main/ivylib/joda-time-1.5.jar in  
[server, test]: 1.5 won
[ivy:retrieve] 		removing conflict looser artifact: joda-time#joda- 
time;1.5!joda-time.jar
[ivy:retrieve] 	conflict on /Users/neil/Business/SnowyRangeConsulting/ 
projects/twc/depot/server/releases/main/ivylib/logkit-1.2.jar in  
[server, test]: 1.2 won
[ivy:retrieve] 		removing conflict looser artifact: jacorb#logkit;1.2! 
logkit.jar
[ivy:retrieve] 	conflict on /Users/neil/Business/SnowyRangeConsulting/ 
projects/twc/depot/server/releases/main/ivylib/antlr-2.7.2.jar in  
[server, test]: 2.7.2 won
[ivy:retrieve] 		removing conflict looser artifact: jacorb#antlr;2.7.2! 
antlr.jar
[ivy:retrieve] 	conflict on /Users/neil/Business/SnowyRangeConsulting/ 
projects/twc/depot/server/releases/main/ivylib/jaxb- 
impl-2.1.3_2007_4_13.jar in [server, test]: 2.1.3_2007_4_13 won
[ivy:retrieve] 		removing conflict looser artifact: jaxb#jaxb-impl; 
2.1.3_2007_4_13!jaxb-impl.jar
[ivy:retrieve] 	conflict on /Users/neil/Business/SnowyRangeConsulting/ 
projects/twc/depot/server/releases/main/ivylib/avalon- 
framework-4.1.5.jar in [server, test]: 4.1.5 won
[ivy:retrieve] 		removing conflict looser artifact: jacorb#avalon- 
framework;4.1.5!avalon-framework.jar
[ivy:retrieve] 	conflict on /Users/neil/Business/SnowyRangeConsulting/ 
projects/twc/depot/server/releases/main/ivylib/isa-1.4.4.jar in  
[server, test]: 1.4.4 won
[ivy:retrieve] 		removing conflict looser artifact: twc#isa;1.4.4! 
isa.jar
[ivy:retrieve] 	conflict on /Users/neil/Business/SnowyRangeConsulting/ 
projects/twc/depot/server/releases/main/ivylib/jaxb- 
jsr173-2.1.3_2007_4_13.jar in [server, test]: 2.1.3_2007_4_13 won
[ivy:retrieve] 		removing conflict looser artifact: jaxb#jaxb- 
jsr173;2.1.3_2007_4_13!jaxb-jsr173.jar
[ivy:retrieve] 	conflict on /Users/neil/Business/SnowyRangeConsulting/ 
projects/twc/depot/server/releases/main/ivylib/jacorb-2.2.2.jar in  
[server, test]: 2.2.2 won
[ivy:retrieve] 		removing conflict looser artifact: jacorb#jacorb; 
2.2.2!jacorb.jar
[ivy:retrieve] 	conflict on /Users/neil/Business/SnowyRangeConsulting/ 
projects/twc/depot/server/releases/main/ivylib/jaxb- 
api-2.1.3_2007_4_13.jar in [server, test]: 2.1.3_2007_4_13 won
[ivy:retrieve] 		removing conflict looser artifact: jaxb#jaxb-api; 
2.1.3_2007_4_13!jaxb-api.jar
[ivy:retrieve] 	conflict on /Users/neil/Business/SnowyRangeConsulting/ 
projects/twc/depot/server/releases/main/ivylib/msa4j-1.0.jar in  
[server, test]: 1.0 won
[ivy:retrieve] 		removing conflict looser artifact: twc#msa4j;1.0! 
msa4j.jar
[ivy:retrieve] 	conflict on /Users/neil/Business/SnowyRangeConsulting/ 
projects/twc/depot/server/releases/main/ivylib/concurrent-1.3.2.jar in  
[server, test]: 1.3.2 won
[ivy:retrieve] 		removing conflict looser artifact:  
concurrent#concurrent;1.3.2!concurrent.jar
[ivy:retrieve] 	conflict on /Users/neil/Business/SnowyRangeConsulting/ 
projects/twc/depot/server/releases/main/ivylib/jaxb- 
activation-2.1.3_2007_4_13.jar in [server, test]: 2.1.3_2007_4_13 won

So for example log4j is part of all three configurations so what's the  
conflict?

[ivy:retrieve] 	conflict on /Users/neil/Business/SnowyRangeConsulting/ 
projects/twc/depot/server/releases/main/ivylib/log4j-1.2.8.jar in  
[interface, server, test]: 1.2.8 won

My main concern is slowing down the build with multiple modules having  
to resolve conflicts given my configurations.

Thanks,

Neil

Mime
View raw message