Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for cacheArtifactNotFound (0.87 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 Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jun 11 13:14:09 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  2. 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 Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jun 11 13:14:09 UTC 2025
    - 8K bytes
    - Viewed (0)
  3. 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 Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Sep 25 17:39:57 UTC 2025
    - 14.8K bytes
    - Viewed (0)
  4. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/MavenInvoker.java

            request.setResume(context.options().resume().orElse(false));
            request.setMakeBehavior(determineMakeBehavior(context));
            request.setCacheNotFound(context.options().cacheArtifactNotFound().orElse(true));
            request.setCacheTransferError(false);
    
            if (context.options().strictArtifactDescriptorPolicy().orElse(false)) {
                request.setIgnoreMissingArtifactDescriptor(false);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Sep 11 17:20:46 UTC 2025
    - 28.2K bytes
    - Viewed (0)
Back to top