let s say I do something like this:
.withMountedCache("/myMavenRepository", dag.cacheVolume("maven-repo"))
then I have some mvn clean install command running in dagger and that will download stuff from the internet.
Next time I run mvn clean install within dagger it get the cache --> great!
Now I modify my pom file and redo mvn clean install within dagger....
- the cache will be downloaded and the mvn clean install within dagger will only download the missing libraries. Am I correct ?
- Since new libraries have been downloaded is the cache going to be "updated" ? replaced ? and if so when is it going to happen exactly ?
thank you