Ammonite can download dependencies from Maven repositories.
I'm using a SNAPSHOT dependency, and I'd like to use always the cached version, in order to avoid using possible untested newer versions. Is this possible?
I know that Ammonite uses lately Coursier and before Ivy, so some information I've found maybe outdated.
Some ideas I'm having is to install the current SNAPSHOT version in a local repository with another name.
Create a local
.ivy2/localrepository with the following directory structure:Create a new
ivy.xmlinsideivysdirectory like this:Place in the
jarsdirectory the*.jarwith proper name and inpomsthe*.pom.Problem is that Coursier won't donwload transitive dependencies, so add extra
import $ivy.....