This is obviously not the correct forum to post this in, but really no other forum suits it either as far as I can tell. And it's not really an Ivy issue since Ivy works fine for all my other dependencies. Mods, feel free to move as appropriate.
After struggling for two days trying to get a handle on Spring dependency management using Apache Ivy, I think I'm almost there. I'm using the Maven repository instead of the Spring EBR because when I tried using the EBR it would download like 25 JARs that I did not need. Weird stuff I'd never seen before. Still not sure why.
So here is my ivy.xml:
All of the Spring JARs are getting downloaded, except for three: spring-orm, spring-oxm, and spring-web-servlet. That last one is necessary for my Web project.Code:... <configurations> <conf name="runtime" /> </configurations> <dependencies> <dependency org="org.springframework" name="spring-webmvc" rev="${spring.version}" conf="runtime->runtime" /> <dependency org="org.springframework" name="spring-orm" rev="${spring.version}" conf="runtime->runtime" /> <dependency org="org.springframework" name="spring-oxm" rev="${spring.version}" conf="runtime->runtime" /> <exclude org="commons-logging" /> </dependencies> ...
The weird thing is that the log output shows that Ivy is finding the artifacts with no problem:
Code:[ivy:retrieve] found org.springframework#spring-webmvc;3.0.5.RELEASE in central [ivy:retrieve] found org.springframework#spring-asm;3.0.5.RELEASE in central [ivy:retrieve] found org.springframework#spring-beans;3.0.5.RELEASE in central [ivy:retrieve] found org.springframework#spring-core;3.0.5.RELEASE in central [ivy:retrieve] found org.springframework#spring-context;3.0.5.RELEASE in central [ivy:retrieve] found org.springframework#spring-aop;3.0.5.RELEASE in central [ivy:retrieve] found aopalliance#aopalliance;1.0 in central [ivy:retrieve] found org.springframework#spring-expression;3.0.5.RELEASE in central [ivy:retrieve] found org.springframework#spring-context-support;3.0.5.RELEASE in central [ivy:retrieve] found org.springframework#spring-web;3.0.5.RELEASE in central [ivy:retrieve] found org.springframework#spring-orm;3.0.5.RELEASE in central [ivy:retrieve] found org.springframework#spring-jdbc;3.0.5.RELEASE in central [ivy:retrieve] found org.springframework#spring-tx;3.0.5.RELEASE in central [ivy:retrieve] found org.springframework#spring-oxm;3.0.5.RELEASE in central
But they aren't being downloaded. Does anyone have any ideas? Any help whatsoever would be greatly appreciated! I'm about to pull my hair out...


Reply With Quote