Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 5 of 5 for getCache (0.24 seconds)

  1. 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);
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sun Mar 30 23:08:08 GMT 2025
    - 55.3K bytes
    - Click Count (0)
  2. 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);
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 17.6K bytes
    - Click Count (0)
  3. cmd/metrics-v3-types.go

    	mg.descriptorMap = make(map[MetricName]MetricDescriptor, len(mg.Descriptors))
    	for _, desc := range mg.Descriptors {
    		mg.descriptorMap[desc.Name] = desc
    	}
    }
    
    // SetCache is a helper to initialize MetricsGroup. It sets the cache object.
    func (mg *MetricsGroup) SetCache(c *metricsCache) {
    	mg.cache = c
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Feb 28 19:33:08 GMT 2025
    - 15.6K bytes
    - Click Count (0)
  4. 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;
        }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 8.3K bytes
    - Click Count (0)
  5. 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<>();
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Jul 17 05:56:35 GMT 2025
    - 25.8K bytes
    - Click Count (0)
Back to Top