- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for getCache (0.04 sec)
-
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultModelCache.java
if (session.getCache() == null) { return null; } else { return new DefaultModelCache(session); } } private DefaultModelCache(RepositorySystemSession session) { this.session = session; this.cache = session.getCache(); } @Override
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jan 10 07:09:12 UTC 2025 - 3.3K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/plugin/version/internal/DefaultPluginVersionResolver.java
PluginVersionResult result = resolveFromProject(request); if (result == null) { ConcurrentMap<Key, PluginVersionResult> cache = getCache(request); Key key = getKey(request); result = cache.get(key); if (result == null) { result = resolveFromRepository(request); logger.debug(
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Jan 29 08:17:07 UTC 2025 - 17.6K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuilder.java
if (parent != null) { String groupId = parent.getGroupId(); String artifactId = parent.getArtifactId(); String version = parent.getVersion(); parentData = getCache(request.getModelCache(), groupId, artifactId, version, ModelCacheTag.RAW); if (parentData == null) { parentData = readParentLocally(childModel, childSource, request, problems);Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Sun Mar 30 23:08:08 UTC 2025 - 55.3K bytes - Viewed (0) -
impl/maven-core/src/test/java/org/apache/maven/project/ProjectBuilderTest.java
@Test void testReadModifiedPoms(@TempDir Path tempDir) throws Exception { // TODO a similar test should be created to test the dependency management (basically all usages // of DefaultModelBuilder.getCache() are affected by MNG-6530 FileUtils.copyDirectoryStructure(new File("src/test/resources/projects/grandchild-check"), tempDir.toFile()); MavenSession mavenSession = createMavenSession(null);Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Sep 17 10:01:14 UTC 2025 - 17.6K bytes - Viewed (0) -
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultVersionResolver.java
String version = artifact.getVersion(); VersionResult result = new VersionResult(request); Key cacheKey = null; RepositoryCache cache = session.getCache(); if (cache != null && !ConfigUtils.getBoolean(session, false, "aether.versionResolver.noCache")) { cacheKey = new Key(session, request); Object obj = cache.get(session, cacheKey);Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jan 10 08:42:00 UTC 2025 - 20.2K bytes - Viewed (0) -
impl/maven-core/src/test/java/org/apache/maven/project/AbstractMavenProjectTestCase.java
SessionScope scope = container.lookup(SessionScope.class); scope.enter(); scope.seed(Session.class, s); scope.seed(InternalMavenSession.class, s); repoSession.setCache(new DefaultRepositoryCache()); repoSession.setLocalRepositoryManager(new LegacyLocalRepositoryManager(localRepo)); request.setRepositorySession(repoSession); }
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jan 10 08:42:00 UTC 2025 - 7.2K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/ArtifactResolutionRequest.java
} // // Used by Tycho and will break users and force them to upgrade to Maven 3.1 so we should really leave // this here, possibly indefinitely. // public ArtifactResolutionRequest setCache(RepositoryCache cache) { return this; }Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 8.3K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/aether/DefaultRepositorySystemSessionFactory.java
SessionBuilder sessionBuilder = supplier.get(); sessionBuilder.setArtifactTypeRegistry(new TypeRegistryAdapter(typeRegistry)); // dynamic sessionBuilder.setCache(request.getRepositoryCache()); // configProps map is kept "pristine", is written ONLY, the mandatory resolver config Map<String, Object> configProps = new LinkedHashMap<>();
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Thu Jul 17 05:56:35 UTC 2025 - 25.8K bytes - Viewed (0)