You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently TC operated on all resolved artifacts, but this may
not be what user wants. Add scope support with two values
for now: "all" (as before, everything resolved is validated)
or "project" (only project dependencies are validated).
Copy file name to clipboardExpand all lines: maven-resolver-impl/src/main/java/org/eclipse/aether/internal/impl/resolution/TrustedChecksumsArtifactResolverPostProcessor.java
+31-1Lines changed: 31 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -100,6 +100,24 @@ public final class TrustedChecksumsArtifactResolverPostProcessor extends Artifac
Copy file name to clipboardExpand all lines: maven-resolver-impl/src/test/java/org/eclipse/aether/internal/impl/resolution/TrustedChecksumsArtifactResolverPostProcessorTest.java
Copy file name to clipboardExpand all lines: src/site/markdown/configuration.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -34,6 +34,7 @@ To modify this file, edit the template and regenerate.
34
34
|`"aether.artifactResolver.postProcessor.trustedChecksums.checksumAlgorithms"`|`String`| The checksum algorithms to apply during post-processing as comma separated list. |`"SHA-1"`| 1.9.0 | No | Session Configuration |
35
35
|`"aether.artifactResolver.postProcessor.trustedChecksums.failIfMissing"`|`Boolean`| Should post processor fail resolution if checksum is missing? |`false`| 1.9.0 | No | Session Configuration |
36
36
|`"aether.artifactResolver.postProcessor.trustedChecksums.record"`|`Boolean`| Should post processor go into "record" mode (and collect checksums instead of validate them)? |`false`| 1.9.0 | No | Session Configuration |
37
+
|`"aether.artifactResolver.postProcessor.trustedChecksums.scope"`|`String`| The scope to apply during post-processing. Accepted values are <code>all</code> (is default and is what happened before), and <code>project</code> when the scope of verification are project dependencies only (i.e. plugins are not verified). |`"all"`| 2.0.11 | No | Session Configuration |
37
38
|`"aether.artifactResolver.postProcessor.trustedChecksums.snapshots"`|`Boolean`| Should post processor process snapshots as well? |`false`| 1.9.0 | No | Session Configuration |
38
39
|`"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 |
39
40
|`"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 |
0 commit comments