ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sebastian Hennebrueder <use...@laliluna.de>
Subject Transitively resolve of jar and source problem
Date Tue, 19 Aug 2008 09:58:06 GMT
Hello,

my project has the following dependency:
<dependency org="net.sf" name="ehcache" rev="1.5.0" 	
   conf="default->source,default">
</dependency>

I would expect to get ehcache jar, ehcache source and as ehcache depends 
on commons-logging: commons-logging jar and commons-logging source

But the source for commons-logging is not retrieved. If I add a 
dependency on the commons-logging directly with default->source,default 
than the source is retrieved.

As I am new to ivy, I assume that it is my error. Could you give me some 
directions?

Best Regards

Sebastian

PS: In my repository I have the following ivys for ehcache and 
commons-logging

<ivy-module version="2.0" xmlns:m="http://ant.apache.org/ivy/maven" 
xmlns:noNamespaceSchemaLocation="http://ant.apache.org/ivy/schemas/ivy.xsd">
   <info organisation="net.sf" module="ehcache" revision="1.5.0" 
status="release" publication="20080819113248">
     <description>
       Commons logging
     </description>
   </info>

   <configurations defaultconfmapping="default">
     <!-- is a minimal configuration -->
     <conf name="default"/>
     <conf name="source"/>
     <conf name="javadoc"/>
   </configurations>
   <publications>
     <artifact name="ehcache" type="jar" conf="default" ext="jar"/>
     <artifact name="ehcache" type="source" conf="source" ext="jar"/>
     <artifact name="ehcache" type="javadoc" conf="javadoc" ext="jar"/>

   </publications>

   <dependencies>
     <dependency org="org.apache.commons" name="logging" rev="1.0.4">
       <artifact name="commons-logging" type="jar" ext="jar"/>
       <artifact name="commons-logging" type="source" ext="jar" 
conf="source"/>
       <artifact name="commons-logging" type="javadoc" ext="jar" 
conf="javadoc"/>
     </dependency>
   </dependencies>
</ivy-module>


<ivy-module version="2.0" xmlns:m="http://ant.apache.org/ivy/maven" 
xmlns:noNamespaceSchemaLocation="http://ant.apache.org/ivy/schemas/ivy.xsd">
   <info organisation="org.apache.commons" module="logging" 
revision="1.0.4" status="release" publication="20080818233054">
     <description>
      Commons logging
     </description>
   </info>

   <configurations defaultconfmapping="default">
     <!-- is a minimal configuration -->
     <conf name="default"/>
     <conf name="source"/>
     <conf name="javadoc"/>
   </configurations>
   <publications>
     <artifact name="commons-logging" type="jar" conf="default" ext="jar"/>
     <artifact name="commons-logging" type="source" conf="source" 
ext="jar"/>
     <artifact name="commons-logging" type="javadoc" conf="javadoc" 
ext="jar"/>

   </publications>

</ivy-module>

Mime
View raw message