We are trying to build our project based on ivy , that has dependencies
on some mvn snapshots present in the apache snapshot repository.
I have added the details to the same at -
http://issues.apache.org/jira/browse/IVY-938 .
Our ivy settings file looks something like as follows. (Sample module-
org.apache.hadoop / hadoop-core ).
<ivysettings>
<property name="repo.maven.org" value="http://repo1.maven.org/maven2/"
override="false"/>
<property name="snapshot.apache.org"
value="https://repository.apache.org/content/repositories/snapshots/" override="false"/>
<property name="maven2.pattern"
value="[organisation]/[module]/[revision]/[module]-[revision]"/>
<property name="maven2.pattern.ext" value="${maven2.pattern}.[ext]"/>
<settings defaultResolver="default"/>
<resolvers>
<!--ibiblio resolvers-->
<ibiblio name="maven2" root="${repo.maven.org}" m2compatible="true"/>
<ibiblio name="apache-snapshot" root="${snapshot.apache.org}"
m2compatible="true"
checkmodified="true" changingPattern=".*SNAPSHOT"/>
<chain name="default" dual="true">
<resolver ref="maven2"/>
<resolver ref="apache-snapshot" />
</chain>
</resolvers>
</ivysettings>
When a new release is made and symlinked to 0.21.0-SNAPSHOT, and when we
do ivy-retrieve - what we want is to get the new jars down to
~/.ivy2/cache and used by the build process. But that does not seem to
be happening. Any workaround for the same that exists ?