Repository layout with Ivy in Artifactory

1.1k Views Asked by At

We are using Ant+Ivy and I am a newbie on Artifactory. One very basic question is that we always publish resolved ivy.xml along with artifacts into the Ivy repository, but in Artifactory, I am confused if we should publish ivy.xml or pom.xml? Artifactory suggests to use a maven2 compatible layout so it's easy to migrate to Maven in the future.

1

There are 1 best solutions below

2
On

You can store both ivy.xml and pom files in Artifactory, it will give you the ability to migrate to maven (if you wish), although Artifactory fully support automatic conversion of layouts from ivy layout to maven2 layout and vice versa. You can also use the convention user plugins to generate ivy.xml out of pom.xml and vice versa as well.

Here are the docs on Artifactory Ivy support.