Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 28 for Marche (0.68 sec)

  1. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelBuilder.java

            return importModel;
        }
    
        private static <T> T cache(
                ModelCache cache, String groupId, String artifactId, String version, String tag, Callable<T> supplier) {
            Supplier<T> s = asSupplier(supplier);
            if (cache == null) {
                return s.get();
            } else {
                return cache.computeIfAbsent(groupId, artifactId, version, tag, s);
            }
        }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri May 03 08:48:38 GMT 2024
    - 61.5K 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/model/DefaultModelInterpolator.java

                List<? extends InterpolationPostProcessor> postProcessors,
                ModelBuilderRequest request,
                ModelProblemCollector problems) {
            Map<String, String> cache = new HashMap<>();
            StringSearchInterpolator interpolator = new StringSearchInterpolator();
            interpolator.setCacheAnswers(true);
            for (ValueSource vs : valueSources) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 20K bytes
    - Viewed (0)
  4. maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultMavenPluginManager.java

                    throw new PluginManagerException(plugin, e.getMessage(), e);
                }
            }
            pluginArtifactsCache.register(project, cacheKey, recordArtifacts);
    
            // create and cache extensions realms
            final ExtensionRealmCache.Key extensionKey = extensionRealmCache.createKey(artifacts);
            extensionRecord = extensionRealmCache.get(extensionKey);
            if (extensionRecord == null) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 14:13:36 GMT 2024
    - 42.5K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/Session.java

        Collection<Listener> getListeners();
    
        /**
         * Shortcut for {@code getService(RepositoryFactory.class).createLocal(...)}.
         *
         * @param path location of the local repository to create
         * @return cache of artifacts downloaded from a remote repository or built locally
         *
         * @see org.apache.maven.api.services.RepositoryFactory#createLocal(Path)
         */
        @Nonnull
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 30.2K bytes
    - Viewed (0)
  6. 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)
  7. maven-artifact/src/main/java/org/apache/maven/artifact/versioning/VersionRange.java

    /**
     * Construct a version range from a specification.
     *
     */
    public class VersionRange {
        private static final Map<String, VersionRange> CACHE_SPEC = Collections.synchronizedMap(new WeakHashMap<>());
    
        private static final Map<String, VersionRange> CACHE_VERSION = Collections.synchronizedMap(new WeakHashMap<>());
    
        private final ArtifactVersion recommendedVersion;
    
        private final List<Restriction> restrictions;
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Feb 28 07:40:37 GMT 2024
    - 18.9K 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. .github/workflows/maven_build_itself.yml

            with:
              persist-credentials: false
    
          - uses: actions/setup-java@v4
            with:
              java-version: ${{ matrix.java }}
              distribution: 'temurin'
              cache: 'maven'
    
          - name: Build with Maven
            run: mvn install -e -B -V -DdistributionFileName=apache-maven
    
          - name: Extract tarball
            shell: bash
            run: |
              set +e
    Others
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Sun Mar 03 21:28:30 GMT 2024
    - 2.6K bytes
    - Viewed (0)
Back to top