Hi All,
I'm really sorry if this is documented somewhere but I have searched and
experimented and I cannot get anything working.
I have my library (A) being published to artifactory by Ivy through an
ant script run by Jenkins, it depends on nothing. I then have another
software module (B) which depends on the latest.integration version of
library A, it too is being published to artifactory by ivy and Jenkins.
Then I have my final project, it should be able to depend on B and
resolve the correct version of A. I can depend on and resolve B but A
never ends up on my classpath in my eclipse workspace.
I'm guessing that I need to use makepom, as when I include the ivy.xml
file in the META-INF directory of my jar IvyDE fails to open it, so I'm
guessing it's not used to looking in jars so my suspicion that I need a
pom. Is this correct? Is it the pom inside the jar that is used to
identify dependencies?
If it is, I have tried making a pom with the ant task, I've tried
manually substituting latest.integration for the actual version that has
been built against in the ivy.xml before calling makepom, I've tried
specifying <mapping conf="*" scope="compile"/> and still module A will
not be resolved, IvyDE is set to resolve transitive dependencies, I'm
not using any configurations, everything is just defaulted to default...
I'm getting to the point where I'm struggling to see the difference
between my pom and the one contained in guava, the only difference is
that alongside guava in artifactory is a pom rather than an ivy file, I
don't really want to use maven to publish my jars, there must be
something I'm doing wrong with ivy?
Can someone please help
Thank you
Dan.