Do you have a cache created with a previous version? On 17/03/2008, Xavier Hanin wrote: > On Thu, Mar 13, 2008 at 5:08 PM, Sebastian Wiemer > wrote: > > I've the following problem. > > > > My module defines the following dependency: > > > > > > > > No configurations definied in the modules ivy.xml > > > > > > Besides several other dependencies the resolver finds a dependency to > > > > commons-logging-1.1 > > > > and failes with the message: > > > > [ivy:resolve] :::::::::::::::::::::::::::::::::::::::::::::: > > [ivy:resolve] :: UNRESOLVED DEPENDENCIES :: > > [ivy:resolve] :::::::::::::::::::::::::::::::::::::::::::::: > > [ivy:resolve] :: commons-logging#commons-logging;1.1: > > configuration(s) not found in commons-logging#commons-logging;1.1: > > optional. It was required from org.apache.poi#poi;3.0.1-FINAL compile > > [ivy:resolve] :::::::::::::::::::::::::::::::::::::::::::::: > > > > > > > > If i do an on commons-logging#commons-logging;1.1 > > > > i get the following ivy-1.1.xml > > > > > > > > > module="commons-logging" > > revision="1.1" > > status="integration" > > publication="20060513143149" > > /> > > > > > description="runtime dependencies and master artifact can be used with > > this conf" extends="runtime,master"/> > > > description="contains only the artifact published by this module itself, > > with no transitive dependencies"/> > > > > > description="this is much like compile, but indicates you expect the JDK > > or a container to provide it. It is only available on the compilation > > classpath, and is not transitive."/> > > > > > > > > > > > > > conf="master"/> > > > > > > > force="true" conf="compile->compile(*),master(*);runtime->runtime(*)"/> > > > force="true" conf="compile->compile(*),master(*);runtime->runtime(*)"/> > > > force="true" conf="test->compile(*),runtime(*),master(*)"/> > > > rev="4.1.3" force="true" > > conf="compile->compile(*),master(*);runtime->runtime(*)"/> > > > rev="2.3" force="true" > > conf="compile->compile(*),master(*);runtime->runtime(*)"/> > > > > > > > > > > So commons-logging does indeed not provide an 'optional' configuration. > > > > > > > > My question is now, how can i get the dependency commons-logging-1.1 for > > org.apache.poi-3.0.1-FINAL ? > > What do i have to configure in my modules ivy.xml ? > Mmm, this is strange... All ivy files converted from poms are supposed > to publish an 'optional' configuration. Where does your > commons-logging ivy.xml comes from? Is it converted from a pom by Ivy? > Which Ivy version? > > Xavier > > > > > > > > > > Mit freundlichen Grüßen / Kind regards > > Sebastian Wiemer > > > > ------------------------------------ > > Sebastian Wiemer > > GfK Group > > Data Services GmbH > > Nordwestring 101 > > D-90319 Nürnberg > > Fon: +49 (0) 911 395 3876 > > Fax: +49 (0) 911 395 3466 > > sebastian.wiemer@gfk.com > > www.gfk.de / www.gfk.com > > ------------------------------------ > > > > > > > > GfK Aktiengesellschaft, Nuremberg, Germany, commercial register Nuremberg > > HRB 9398; Management Board: Professor Dr. Klaus L. Wübbenhorst (CEO), > > Christian Weller von Ahlefeld (CFO), Petra Heinlein, Debra A. Pruent, Dr. > > Gérard Hermet, Wilhelm R. Wessels; Chairman of the Supervisory Board: Hajo > > Riesenbeck > > This email and any attachments may contain confidential or privileged > > information. Please note that unauthorized copying, disclosure or > > distribution of the material in this email is not permitted. > > > > > > > > -- > Xavier Hanin - Independent Java Consultant > http://xhab.blogspot.com/ > http://ant.apache.org/ivy/ > http://www.xoocode.org/ > -- Gilles Scokart