ivy/ivysettings.xml
<?xml version="1.0" encoding="UTF-8"?>
<ivysettings>
<settings defaultResolver="default"/>
<!-- SCIPIO: NOTE: for multi-project development efficiency and speed, in the Git repositories
we leave the repository cache to the default ivy location, which is the user home dir (~/.ivy2/*).
If you need a per-project or local repository cache, simply uncomment this line and comment the one below it:
FIXME?: repositoryCacheDir as recommended by ivy docs appears to be ignored by ivy 2.4 - unknown reason/bug - so forced to set defaultCacheDir in addition: -->
<!--<caches defaultCacheDir="${ivy.settings.dir}/repositoryCache" repositoryCacheDir="${ivy.settings.dir}/repositoryCache" resolutionCacheDir="${ivy.settings.dir}/resolutionCache"/>-->
<caches resolutionCacheDir="${ivy.settings.dir}/resolutionCache"/>
<resolvers>
<!-- Maven central (ivy knows address) -->
<ibiblio name="central" m2compatible="true"/>
<!-- Spring Plugins Repository (e.g., Solr org.restlet.jee libs)
<ibiblio name="springplugins" root="https://repo.spring.io/plugins-release" m2compatible="true"/>-->
<!-- Jitpack.IO (a git based package repository)
<ibiblio name="jitpack" root="https://jitpack.io" m2compatible="true"/>-->
<!-- ivy/localRepo/ for libs missing from central and custom/client libs -->
<filesystem name="local-ivy" local="true">
<artifact pattern="${ivy.settings.dir}/localRepo/[organisation]/[module]/[type]s/[artifact]-[revision].[ext]"/>
</filesystem>
<!-- lib/ shared JAR repo for simple JAR reuse and custom/client libs (NOTE: not in default chain by default) -->
<filesystem name="local" local="true">
<artifact pattern="${ivy.settings.dir}/../lib/[artifact]-[revision].[ext]"/>
</filesystem>
<!-- Default resolver - prioritizes local-ivy before central -->
<chain name="default" returnFirst="true">
<resolver ref="local-ivy"/>
<resolver ref="central"/>
<!--<resolver ref="springplugins"/>-->
<!--<resolver ref="jitpack"/>-->
</chain>
</resolvers>
</ivysettings>