Is there a way to tell ant/ivy to not use a local $HOME/.ivy2 cache?
In the full book on ivy, you check out the "Setting up the repositories" section:
Several repositories use the same root in your filesystem. Referenced as
${ivy.default.ivy.user.dir}, this is by default the directory.ivy2in your user home.Note that several things can be done by setting Ivy variables.
To set them without defining your ownivysettings.xmlfile, you can:
- set an Ant property before any call to Ivy in your build file if you use Ivy from Ant
- set an environment variable if you use Ivy from the command line
For example:
The packager resolver has also some settings to be configured to avoid ${home}: