Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for strictChecksums (0.25 sec)

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

            return returnFirstPresentOrEmpty(MavenOptions::suppressSnapshotUpdates);
        }
    
        @Override
        public Optional<Boolean> strictChecksums() {
            return returnFirstPresentOrEmpty(MavenOptions::strictChecksums);
        }
    
        @Override
        public Optional<Boolean> relaxedChecksums() {
            return returnFirstPresentOrEmpty(MavenOptions::relaxedChecksums);
        }
    
        @Override
    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/DefaultMavenInvoker.java

            if (invokerRequest.options().relaxedChecksums().orElse(false)) {
                logger.info("Disabling strict checksum verification on all artifact downloads.");
            } else if (invokerRequest.options().strictChecksums().orElse(false)) {
                logger.info("Enabling strict checksum verification on all artifact downloads.");
            }
        }
    
        @Override
        protected void configureLogging(C context) throws Exception {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 29.8K bytes
    - Viewed (0)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/forked/DefaultForkedMavenInvoker.java

            }
            if (mavenOptions.suppressSnapshotUpdates().orElse(false)) {
                cmdAndArguments.add("--no-snapshot-updates");
            }
            if (mavenOptions.strictChecksums().orElse(false)) {
                cmdAndArguments.add("--strict-checksums");
            }
            if (mavenOptions.relaxedChecksums().orElse(false)) {
                cmdAndArguments.add("--lax-checksums");
            }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  4. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/mvn/MavenOptions.java

         *
         * @return an {@link Optional} containing true if strict checksum verification is enabled, false if not, or empty if not specified
         */
        @Nonnull
        Optional<Boolean> strictChecksums();
    
        /**
         * Indicates whether Maven should use relaxed checksum verification.
         *
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Oct 03 16:03:55 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  5. 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> strictChecksums() {
            if (commandLine.hasOption(CLIManager.CHECKSUM_FAILURE_POLICY)) {
                return Optional.of(Boolean.TRUE);
            }
            return Optional.empty();
        }
    
        @Override
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16K bytes
    - Viewed (0)
Back to top