I\'m fairly new to Ivy, but have gotten it to work with jar dependencies. The problem is trying to set it up, so I can fetch javadocs and sources independently of jars.
Okay, I think I've figured it out. I was over thinking this whole process. My <dependencies>
section should look like this:
<dependencies>
<dependency org="commons-logging" name="commons-logging" rev="1.1.1"
conf="javadoc->javadoc;sources->sources;compile->default"/>
</dependencies>
This maps my javadoc
to Maven's javadoc
and my sources
to Maven's sources
. When I mapped conf="sources->default"
, it was mapping my sources
to Maven's default
which is the compile dependencies.
I can specify all the configurations in one line, and I don't need separate <artifact>
entities.