I have an artifact A installed in a local Maven repository.
Artifact A has a number of dependencies - properly specified in its pom.
If I set A as a dependency in a Maven project everything is ok - both A and its dependencies are correctly downloaded. This tells me that A is properly installed in the local Maven repo, and that its dependencies have been properly specified.
I also have a Ant/Ivy project. I have configured ivysettings.xml in the following way (following advice taken from another answer):
<ivysettings>
<settings defaultResolver="default"/>
<property name="m2-pattern" value="${user.home}/.m2/repository/[organisation]/[module]/[revision]/[module]-[revision](-[classifier]).[ext]" override="false" />
<resolvers>
<chain name="default">
<filesystem name="local-maven2" m2compatible="true" >
<artifact pattern="${m2-pattern}"/>
<ivy pattern="${m2-pattern}"/>
</filesystem>
<ibiblio name="central" m2compatible="true"/>
</chain>
</resolvers>
</ivysettings>
With this configuration, Ivy correctly downloads A, but not its dependencies (seems to completely ignore its pom file).
How should I have to change my setup in such a way dependencies as well will be downloaded?