We are moving from ivy to maven. We have lots of artifacts in artifactory which were published using ivy and hence the artifact folder/path structure is similar to
artifactory/libs-release/[organization]/[module]/[revision]/[type]s/[module](-[classifier]).[ext]
artifactory/libs-release/[organization]/[module]/[revision]/[type]s/ivy.xml
However, when we add the dependency in maven pom.xml , the dependency name will be something like com.abc.xyz
. But maven tries to look into the path com/abc/xyz/
folder whereas we have the artifact in artifactory in com.abc.xyz/my-artifact/1.0.0/jars/my-artifact.jar
How can I tell maven (pom.xml) to read and understand the path which is in artifactory.
I tried using ivy-maven-plugin but it gives classNotFound error for some groovy class even though I have required groovy jars in my local m2 repository folder.
* Answer ok, here is what we did. We created folders manually and then we are now using makepom plugin to convert ivy.xml to maven pom.xml Thank you to all your suggestions and more are welcome.