Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for checksums (0.09 sec)

  1. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/ArtifactDescriptorUtils.java

                    updates = policy.getUpdatePolicy();
                }
                if (policy.getChecksumPolicy() != null) {
                    checksums = policy.getChecksumPolicy();
                }
            }
    
            return new RepositoryPolicy(enabled, updates, checksums);
        }
    
        public static String toRepositoryChecksumPolicy(final String artifactRepositoryPolicy) {
            switch (artifactRepositoryPolicy) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultWagonManager.java

                    }
                }
    
                // Pre-store the checksums as any future puts will overwrite them
                for (String extension : checksums.keySet()) {
                    ChecksumObserver observer = checksums.get(extension);
                    sums.put(extension, observer.getActualChecksum());
                }
    
                // We do this in here so we can checksum the artifact metadata too, otherwise it could be metadata itself
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 29.9K bytes
    - Viewed (0)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/forked/DefaultForkedMavenInvoker.java

            }
            if (mavenOptions.strictChecksums().orElse(false)) {
                cmdAndArguments.add("--strict-checksums");
            }
            if (mavenOptions.relaxedChecksums().orElse(false)) {
                cmdAndArguments.add("--lax-checksums");
            }
            if (mavenOptions.failFast().orElse(false)) {
                cmdAndArguments.add("--fail-fast");
            }
    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. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/CommonsCliMavenOptions.java

                        .longOpt("strict-checksums")
                        .desc("Fail the build if checksums don't match")
                        .build());
                options.addOption(Option.builder(CHECKSUM_WARNING_POLICY)
                        .longOpt("lax-checksums")
                        .desc("Warn if checksums don't match")
                        .build());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16K bytes
    - Viewed (0)
  5. compat/maven-embedder/src/main/java/org/apache/maven/cli/CLIManager.java

                    .longOpt("strict-checksums")
                    .desc("Fail the build if checksums don't match")
                    .build());
            options.addOption(Option.builder(Character.toString(CHECKSUM_WARNING_POLICY))
                    .longOpt("lax-checksums")
                    .desc("Warn if checksums don't match")
                    .build());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  6. cmd/erasure-metadata.go

    	partInfo := ObjectPartInfo{
    		Number:     partNumber,
    		ETag:       partETag,
    		Size:       partSize,
    		ActualSize: actualSize,
    		ModTime:    modTime,
    		Index:      idx,
    		Checksums:  checksums,
    	}
    
    	// Update part info if it already exists.
    	for i, part := range fi.Parts {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 21.3K bytes
    - Viewed (0)
  7. apache-maven/pom.xml

              </plugin>
              <!-- calculate checksums of source release for Apache dist area -->
              <plugin>
                <groupId>net.nicoulaj.maven.plugins</groupId>
                <artifactId>checksum-maven-plugin</artifactId>
                <version>1.11</version>
                <executions>
                  <execution>
                    <id>source-release-checksum</id>
                    <goals>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 13:41:46 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  8. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/RepositorySystemSupplier.java

    import org.eclipse.aether.spi.checksums.ProvidedChecksumsSource;
    import org.eclipse.aether.spi.checksums.TrustedChecksumsSource;
    import org.eclipse.aether.spi.connector.RepositoryConnectorFactory;
    import org.eclipse.aether.spi.connector.checksum.ChecksumAlgorithmFactory;
    import org.eclipse.aether.spi.connector.checksum.ChecksumAlgorithmFactorySelector;
    import org.eclipse.aether.spi.connector.checksum.ChecksumPolicyProvider;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 45.6K bytes
    - Viewed (0)
  9. compat/maven-artifact/src/main/java/org/apache/maven/artifact/repository/ArtifactRepositoryPolicy.java

        }
    
        @Override
        public String toString() {
            StringBuilder buffer = new StringBuilder(64);
            buffer.append("{enabled=");
            buffer.append(enabled);
            buffer.append(", checksums=");
            buffer.append(checksumPolicy);
            buffer.append(", updates=");
            buffer.append(updatePolicy);
            buffer.append('}');
            return buffer.toString();
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  10. compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/DefaultWagonManagerTest.java

            wagon.clearExpectedContent();
            wagon.addExpectedContent("path", "lower-case-checksum");
            wagon.addExpectedContent("path.sha1", "2a25dc564a3b34f68237fc849066cbc7bb7a36a1");
            wagonManager.getArtifact(artifact, repo, null, false);
    
            wagon.clearExpectedContent();
            wagon.addExpectedContent("path", "upper-case-checksum");
            wagon.addExpectedContent("path.sha1", "B7BB97D7D0B9244398D9B47296907F73313663E6");
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.4K bytes
    - Viewed (0)
Back to top