Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for cacheArtifactNotFound (0.26 sec)

  1. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/LayeredMavenOptions.java

            return returnFirstPresentOrEmpty(MavenOptions::noTransferProgress);
        }
    
        @Override
        public Optional<Boolean> cacheArtifactNotFound() {
            return returnFirstPresentOrEmpty(MavenOptions::cacheArtifactNotFound);
        }
    
        @Override
        public Optional<Boolean> strictArtifactDescriptorPolicy() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  2. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/forked/DefaultForkedMavenInvoker.java

                cmdAndArguments.add("--no-transfer-progress");
            }
            if (mavenOptions.cacheArtifactNotFound().isPresent()) {
                cmdAndArguments.add("--cache-artifact-not-found");
                cmdAndArguments.add(mavenOptions.cacheArtifactNotFound().get().toString());
            }
            if (mavenOptions.strictArtifactDescriptorPolicy().isPresent()) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  3. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/mvn/MavenOptions.java

         *
         * @return an {@link Optional} containing true if "not found" status should be cached, false if not, or empty if not specified
         */
        @Nonnull
        Optional<Boolean> cacheArtifactNotFound();
    
        /**
         * Indicates whether Maven should use strict artifact descriptor policy.
         *
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Oct 03 16:03:55 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  4. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/CommonsCliMavenOptions.java

                return Optional.of(Boolean.TRUE);
            }
            return Optional.empty();
        }
    
        @Override
        public Optional<Boolean> cacheArtifactNotFound() {
            if (commandLine.hasOption(CLIManager.CACHE_ARTIFACT_NOT_FOUND)) {
                return Optional.of(Boolean.parseBoolean(commandLine.getOptionValue(CLIManager.CACHE_ARTIFACT_NOT_FOUND)));
            }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16K bytes
    - Viewed (0)
  5. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/DefaultMavenInvoker.java

            request.setResume(options.resume().orElse(false));
            request.setMakeBehavior(determineMakeBehavior(context));
            request.setCacheNotFound(options.cacheArtifactNotFound().orElse(true));
            request.setCacheTransferError(false);
    
            if (options.strictArtifactDescriptorPolicy().orElse(false)) {
                request.setIgnoreMissingArtifactDescriptor(false);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 29.8K bytes
    - Viewed (0)
Back to top