On 7/8/07, hezjing wrote: > > Hi! > > I have the following ivy.xml, > > > > > > > > > conf="compile" /> > conf="compile" /> > rev="2.0.6" conf="compile" /> > rev="3.3.0.ga" conf="compile" /> > > > > When run, I don't see any error and the dependencies seem to be > successfully resolved. However, there is no JAR loaded in the Ivy's > cache. > > There are only 2 files found in > .ivy\cache\org.springframework\spring-hibernate3: ivy-2.0.6.xml, > ivydata-2.0.6.properties > > Note: I have jta.jar saved at > .ivy\shared\javax.transaction\jta\1.0.1B\jars. > > > Any idea? I'm curious if you will encounter the same problem? I think it's a problem of configuration. Indeed in current Ivy version maven 2 poms expose their artifact in the "master" configuration, and "default", but not in "compile". Gilles suggested to change that, I think it's a good idea. To check if this is the source of your problem, try adding defaultConfMapping="compile,runtime->default" to your dependencies tag. It will tell Ivy that when you declare a dependency as "compile", it should consider it as "compile->default". Xavier -- > > Hez > -- Xavier Hanin - Independent Java Consultant http://xhab.blogspot.com/ http://incubator.apache.org/ivy/ http://www.xoocode.org/