以下を$HOME/ .ivy2/ivysettings.xmlに配置できます
これにより、ivy(したがって依存関係の解決を再生)が最初にローカルのMavenリポジトリを調べ、次にリポジトリマネージャーを使用します(.m2 /settings.xmlのmirrorOf*と同様)。
<ivy-settings>
<!-- path to local maven repo and default maven layout -->
<property name="local-maven2-pattern" value="${user.home}/.m2/repository/[organisation]/[module]/[revision]/[module]-[revision]" override="false" />
<!-- set resolver chain as default -->
<settings defaultResolver="main" />
<!-- configure caches -->
<caches repositoryCacheDir="${user.home}/.ivy2/cache">
<!-- do not cache from local .m2-->
<cache name="nocache" useOrigin="true" />
<cache name="default" />
</caches>
<resolvers>
<chain name="main">
<!-- as this is not cached, even changing SNAPSHOT dependencies are resolved correctly -->
<filesystem name="local-maven-2" m2compatible="true" local="true" cache="nocache">
<ivy pattern="${local-maven2-pattern}.pom" />
<artifact pattern="${local-maven2-pattern}(-[classifier]).[ext]" />
</filesystem>
<!-- use repository manager as proxy to maven-central (and alle other repositories)-->
<ibiblio name="repomanager" m2compatible="true"root="http://your.repomanager.intra/path/to/repo" cache="default"/>
</chain>
</resolvers>
</ivy-settings>