Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 31 for Marche (1.55 sec)

  1. maven-core/src/main/java/org/apache/maven/project/ProjectRealmCache.java

        /**
         * Registers the specified cache record for usage with the given project. Integrators can use the information
         * collected from this method in combination with a custom cache implementation to dispose unused records from the
         * cache.
         *
         * @param project The project that employs the plugin realm, must not be {@code null}.
         * @param record The cache record being used for the project, must not be {@code null}.
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 2.6K bytes
    - Viewed (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/SessionData.java

    /**
     * A container for data that is specific to a session.
     * All components may use this storage to associate arbitrary data with a session.
     * <p>
     * Unlike a cache, this session data is not subject to purging. For this same reason, session data should also not be
     * abused as a cache (i.e. for storing values that can be re-calculated) to avoid memory exhaustion.
     * <p>
     * <strong>Note:</strong> Actual implementations must be thread-safe.
     *
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Feb 28 23:31:09 GMT 2024
    - 4.7K bytes
    - Viewed (0)
  3. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/DefaultModelCache.java

            } else {
                if (anew) {
                    cache = new ConcurrentHashMap<>();
                    repositoryCache.put(session, KEY, cache);
                } else {
                    cache = (ConcurrentHashMap<Object, Supplier<?>>)
                            repositoryCache.computeIfAbsent(session, KEY, ConcurrentHashMap::new);
                }
                return new DefaultModelCache(cache);
            }
        }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 6.8K bytes
    - Viewed (0)
  4. maven-core/src/main/java/org/apache/maven/project/DefaultProjectRealmCache.java

                ClassRealm realm = record.getRealm();
                try {
                    realm.getWorld().disposeRealm(realm.getId());
                } catch (NoSuchRealmException e) {
                    // ignore
                }
            }
            cache.clear();
        }
    
        public void register(MavenProject project, Key key, CacheRecord record) {
            // default cache does not track record usage
        }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Dec 26 15:12:32 GMT 2022
    - 3.7K bytes
    - Viewed (0)
  5. maven-core/src/test/java/org/apache/maven/project/artifact/DefaultProjectArtifactsCacheTest.java

    import org.junit.jupiter.api.Test;
    
    import static org.junit.jupiter.api.Assertions.assertArrayEquals;
    
    class DefaultProjectArtifactsCacheTest {
    
        private ProjectArtifactsCache cache;
    
        @BeforeEach
        void setUp() throws Exception {
            cache = new DefaultProjectArtifactsCache();
        }
    
        @Test
        void testProjectDependencyOrder() throws Exception {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Dec 15 06:34:19 GMT 2023
    - 2.9K bytes
    - Viewed (0)
  6. maven-core/src/main/java/org/apache/maven/plugin/DefaultPluginRealmCache.java

            if (cache.containsKey(key)) {
                throw new IllegalStateException("Duplicate plugin realm for plugin " + key);
            }
    
            CacheRecord record = new CacheRecord(pluginRealm, pluginArtifacts);
    
            cache.put(key, record);
    
            return record;
        }
    
        public void flush() {
            for (CacheRecord record : cache.values()) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Dec 26 15:12:32 GMT 2022
    - 7.4K bytes
    - Viewed (0)
  7. maven-compat/src/main/java/org/apache/maven/project/artifact/DefaultMetadataSource.java

                ArtifactFactory artifactFactory,
                ProjectBuilder projectBuilder,
                MavenMetadataCache cache,
                LegacySupport legacySupport,
                MavenRepositorySystem mavenRepositorySystem) {
            super(repositoryMetadataManager, artifactFactory, projectBuilder, cache, legacySupport, mavenRepositorySystem);
        }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 2.1K bytes
    - Viewed (0)
  8. maven-api-impl/src/main/java/org/apache/maven/internal/impl/PathModularizationCache.java

    import java.util.Set;
    import java.util.function.Predicate;
    
    import org.apache.maven.api.JavaPathType;
    import org.apache.maven.api.PathType;
    
    /**
     * Cache of {@link PathModularization} instances computed for given {@link Path} elements.
     * The cache is used for avoiding the need to reopen the same files many times when the
     * same dependency is used for different scope. For example a path used for compilation
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 5.2K bytes
    - Viewed (0)
  9. .github/workflows/maven.yml

          - name: Set up JDK
            uses: actions/setup-java@v4
            with:
              java-version: ${{ matrix.java }}
              distribution: 'temurin'
    #          cache: 'maven' - don't use cache for integration tests
    
          - uses: actions/checkout@v4
            with:
              path: maven/
              persist-credentials: false
    
          - name: Build Maven
    Others
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Sun Mar 03 21:28:30 GMT 2024
    - 4.5K bytes
    - Viewed (0)
  10. maven-core/src/main/java/org/apache/maven/plugin/DefaultPluginArtifactsCache.java

            assertUniqueKey(key);
    
            CacheRecord record = new CacheRecord(Collections.unmodifiableList(new ArrayList<>(pluginArtifacts)));
    
            cache.put(key, record);
    
            return record;
        }
    
        protected void assertUniqueKey(Key key) {
            if (cache.containsKey(key)) {
                throw new IllegalStateException("Duplicate artifact resolution result for plugin " + key);
            }
        }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 5.8K bytes
    - Viewed (0)
Back to top