This is an automated email from the ASF dual-hosted git repository.

hboutemy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-resolver.git


The following commit(s) were added to refs/heads/master by this push:
     new 3dbadbfc MRESOLVER-360 disable checksum for .sigstore by default
3dbadbfc is described below

commit 3dbadbfcb62cdc4c5169b747d77b4f423b809802
Author: Hervé Boutemy <hbout...@apache.org>
AuthorDate: Mon May 1 09:16:45 2023 +0200

    MRESOLVER-360 disable checksum for .sigstore by default
---
 .../org/eclipse/aether/internal/impl/Maven2RepositoryLayoutFactory.java | 2 +-
 src/site/markdown/configuration.md                                      | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/maven-resolver-impl/src/main/java/org/eclipse/aether/internal/impl/Maven2RepositoryLayoutFactory.java
 
b/maven-resolver-impl/src/main/java/org/eclipse/aether/internal/impl/Maven2RepositoryLayoutFactory.java
index 08699194..5586615a 100644
--- 
a/maven-resolver-impl/src/main/java/org/eclipse/aether/internal/impl/Maven2RepositoryLayoutFactory.java
+++ 
b/maven-resolver-impl/src/main/java/org/eclipse/aether/internal/impl/Maven2RepositoryLayoutFactory.java
@@ -59,7 +59,7 @@ public final class Maven2RepositoryLayoutFactory implements 
RepositoryLayoutFact
     public static final String CONFIG_PROP_OMIT_CHECKSUMS_FOR_EXTENSIONS =
             "aether.checksums.omitChecksumsForExtensions";
 
-    private static final String DEFAULT_OMIT_CHECKSUMS_FOR_EXTENSIONS = ".asc";
+    private static final String DEFAULT_OMIT_CHECKSUMS_FOR_EXTENSIONS = 
".asc,.sigstore";
 
     private float priority;
 
diff --git a/src/site/markdown/configuration.md 
b/src/site/markdown/configuration.md
index 6941e4cd..bba3b212 100644
--- a/src/site/markdown/configuration.md
+++ b/src/site/markdown/configuration.md
@@ -27,7 +27,7 @@ Option | Type | Description | Default Value | Supports Repo 
ID Suffix
 `aether.artifactResolver.postProcessor.trustedChecksums.failIfMissing` | 
boolean | Makes `trustedChecksums` fail validation if a trusted checksum for an 
artifact is missing. | `false` | no 
 `aether.artifactResolver.postProcessor.trustedChecksums.record` | boolean | 
Makes `trustedChecksums` calculate and record checksums. | `false` | no 
 `aether.artifactResolver.postProcessor.trustedChecksums.snapshots` | boolean | 
Enables or disables snapshot processing in `trustedChecksums` post processor. | 
`false` | no 
-`aether.checksums.omitChecksumsForExtensions` | String | Comma-separated list 
of extensions with leading dot (example `.asc`) that should have checksums 
omitted. These are applied to sub-artifacts only. Note: to achieve 1.7.x 
`aether.checksums.forSignature=true` behaviour, pass empty string as value for 
this property. | `.asc` | no
+`aether.checksums.omitChecksumsForExtensions` | String | Comma-separated list 
of extensions with leading dot (example `.asc`) that should have checksums 
omitted. These are applied to sub-artifacts only. Note: to achieve 1.7.x 
`aether.checksums.forSignature=true` behaviour, pass empty string as value for 
this property. | `.asc,.sigstore` | no
 `aether.checksums.algorithms` | String | Comma-separated list of checksum 
algorithms with which checksums are validated (downloaded) and generated 
(uploaded). Resolver by default supports following algorithms: `MD5`, `SHA-1`, 
`SHA-256` and `SHA-512`. New algorithms can be added by implementing 
`ChecksumAlgorithmFactory` component. | `"SHA-1,MD5"` | no
 `aether.conflictResolver.verbose` | boolean | Flag controlling the conflict 
resolver's verbose mode. | `false` | no
 `aether.connector.basic.threads` or `maven.artifact.threads` | int | Number of 
threads to use for uploading/downloading. | `5` | no

Reply via email to