Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[aether-users] Caching dependency resolution across sessions

Hi there,
We're using aether within the Renjin project, a JVM-based implementation of the R programming language. 

Specifically, we use aether to resolve dependencies within Renjin's interactive REPL. This works quite well, but resolving an artifact takes quite a bit of time each session, even if the artifact was very recently installed to the local maven repository. 

What's the best way to implement a scheme so that VersionRangeRequests will be cached for a suitable period, for example 24 hours, and avoid any http requests if the artifact and its dependencies are already present in the local repository?

Should I implement my own persistent RepositoryCache or perform my own caching of the result of VersionRangeRequests?

Thanks,
Alex

Back to the top