We are moving from Ant w/ Ivy to Maven. As part of this move, we have taken projects with multiple jars that use to be separate Ivy artifacts into Maven artifacts with classifiers.
The new Maven projects have no problems with this. However, our Ivy projects can't locate the pom.xml for the classifier.
In our Maven repository, their is a single pom.xml for all of the jars in the project:
http://repo.vegicorp.com/l/com/vegicorp/foo/1.0.0/foo-1.0.0.pom
http://repo.vegicorp.com/l/com/vegicorp/foo/1.0.0/foo-1.0.0.jar
http://repo.vegicorp.com/l/com/vegicorp/foo/1.0.0/foo-1.0.0-client.jar
http://repo.vegicorp.com/l/com/vegicorp/foo/1.0.0/foo-1.0.0-test.jar
Looking at the output of an debug Ant build, I see that it's looking in our Maven repository at:
http://repo.vegicorp.com/com/vegicorp/foo/1.0.0/foo-1.0.0-client.pom
It's appending the classifier to the name of the pom.xml file! It can find and download the jar, but without the pom.xml, it can't figure out the dependencies. Our build fails because the dependencies aren't downloaded.
I assume there's some setting in ivysettings.xml that will let Ivy know that Pom files don't have the classifier appended to them, but I haven't figured it out.
So, how do I fix this issue? I might be able to copy the missing pom.xml into our Repository (This is Artifactory), but I am not sure if I can. (Maybe there's a setting in Artifactory that can help resolve this?).