Skip to content

Commit 65f79af

Browse files
authored
[MRESOLVER-680] Sigstore extension added (#661)
Add the sigstore extension to default values of "omit checksums". --- https://issues.apache.org/jira/browse/MRESOLVER-680
1 parent cd0a76e commit 65f79af

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

maven-resolver-impl/src/main/java/org/eclipse/aether/internal/impl/DefaultArtifactPredicateFactory.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ public final class DefaultArtifactPredicateFactory implements ArtifactPredicateF
5151
public static final String CONFIG_PROP_OMIT_CHECKSUMS_FOR_EXTENSIONS =
5252
CONFIG_PROPS_PREFIX + "omitChecksumsForExtensions";
5353

54-
public static final String DEFAULT_OMIT_CHECKSUMS_FOR_EXTENSIONS = ".asc,.sigstore";
54+
public static final String DEFAULT_OMIT_CHECKSUMS_FOR_EXTENSIONS = ".asc,.sigstore,.sigstore.json";
5555

5656
private final ChecksumAlgorithmFactorySelector checksumAlgorithmFactorySelector;
5757

src/site/markdown/configuration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ under the License.
3232
| `"aether.artifactResolver.simpleLrmInterop"` | `Boolean` | Configuration to enable "interoperability" with Simple LRM, but this breaks RRF feature, hence this configuration is IGNORED when RRF is used, and is warmly recommended to leave it disabled even if no RRF is being used. | `false` | | No | Session Configuration |
3333
| `"aether.artifactResolver.snapshotNormalization"` | `Boolean` | Configuration to enable "snapshot normalization", downloaded snapshots from remote with timestamped file names will have file names converted back to baseVersion. It replaces the timestamped snapshot file name with a filename containing the SNAPSHOT qualifier only. This only affects resolving/retrieving artifacts but not uploading those. | `true` | | No | Session Configuration |
3434
| `"aether.chainedLocalRepository.ignoreTailAvailability"` | `Boolean` | When using chained local repository, should be the artifact availability ignored in tail. | `true` | 1.9.2 | No | Session Configuration |
35-
| `"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 | Session Configuration |
35+
| `"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,.sigstore.json"` | | No | Session Configuration |
3636
| `"aether.conflictResolver.verbose"` | `Object` | The key in the repository session's <code>org.eclipse.aether.RepositorySystemSession#getConfigProperties() configuration properties</code> used to store a <code>Boolean</code> flag controlling the transformer's verbose mode. Accepted values are Boolean types, String type (where "true" would be interpreted as <code>true</code> ) or Verbosity enum instances. | `"NONE"` | | No | Session Configuration |
3737
| `"aether.connector.basic.downstreamThreads"` | `Integer` | Number of threads in basic connector for downloading. | `5` | 2.0.0 | Yes | Session Configuration |
3838
| `"aether.connector.basic.parallelPut"` | `Boolean` | Enables or disables parallel PUT processing (parallel deploys) on basic connector globally or per remote repository. When disabled, connector behaves exactly as in Maven 3.8.x did: GETs are parallel while PUTs are sequential. | `true` | 1.9.5 | Yes | Session Configuration |

0 commit comments

Comments
 (0)