MavenArtifactIndex () { MavenArtifactIndex res = getCachedValue(DEPENDENCIES_CACHE_KEY); if (res == null) { res = MavenArtifactIndex.build(getDependencies()); res = putCachedValue(DEPENDENCIES_CACHE_KEY, res); } return res; }