We have a multi-project build for which all the dependencies are concrete versions. When debugging the build, it constantly logs “Resolved revision in dynamic revision cache is expired” for each of the dependencies. It goes through all of the dependencies for each of the sub projects and re-resolves them. Having profiled it, this part of the build takes over 30s - which seems pretty long. Each of the subprojects has a different subset of a set of dependencies; what is the best way of sharing them among the subprojects? In which ways can we speed up this part of the build?
We are using 1.4 on windows with the daemon fetching dependencies from a few in house maven repositories.