This is an automated email from the ASF dual-hosted git repository.
slachiewicz pushed a change to branch agent/http-aws-sigv4
in repository https://gitbox.apache.org/repos/asf/maven-resolver.git
discard c3f287602 Test that closing a signer during sign() never yields a
wrong signature
discard 6457767c2 Derive the signing key under the lock that close() takes
discard 4c5667237 Close the request signer with the transport and warn when
signing over plain HTTP
discard 3fa984764 Keep the AWS secret key only as a wipeable byte array
discard 6d7783d4d Sign HTTP requests with AWS Signature V4 so the HTTP
transports serve S3
add dc8e96c86 Silence the obsolete Java 8 target warning
add 7a21798c9 Update SCM tag to HEAD in pom.xml for default version
add 69495b2f3 build(deps): bump
com.github.siom79.japicmp:japicmp-maven-plugin
add 5772b23fd Rewrite the 1.x to 2.x upgrade guide and point deprecated
API at its replacements
add fd3595c7e Quote the latest Maven 3.9.x release and fix the
session-hook sentence
add 8637d766a Mark the trackingFilename key as not read under its 1.9.x
name
add 0a21d03ad Say that Files.write writes the array once in the writeBytes
deprecation note
add 6dfd61ce5 Release the file lock before deleting a tracking file
add 77f371cd3 build(deps): bump org.codehaus.mojo:build-helper-maven-plugin
add 8e56968e4 Exclude Redisson 4.8.0+ updates for 1.9.x in Dependabot
add c824e2db8 build(deps): bump org.apache.commons:commons-lang3 from
3.21.0 to 3.22.0 (#2310)
add 57a208044 build(deps): bump org.codehaus.mojo:build-helper-maven-plugin
add 529e99fdc build(deps): bump version.sisu-maven-plugin from 1.1.1 to
1.1.2
add d19cabf62 build(deps): bump org.eclipse.jetty:jetty-bom from 12.1.14
to 12.1.15
add 774414680 build(deps-dev): bump org.codehaus.mojo:exec-maven-plugin
add b5adf084f Restore the interrupt status when dependency collection is
interrupted
add 704468056 Make the session read-only flag volatile and fix its javadoc
add 480fa1bc4 Tone down hard-link fallback log: WARN → INFO, once per
local repo per session (#2306)
add 1e92bd403 build(deps): bump version.bouncycastle from 1.86 to 1.87
(#2322)
add 1f70bef87 build(deps): bump biz.aQute.bnd:bnd-maven-plugin from 7.4.0
to 7.5.0 (#2321)
add 6b3b09da5 Add HTTP 502 and 504 to retryable status codes (#2223)
add eef2e6632 build(deps): bump maven3Version from 3.10.0 to 3.10.1 (#2320)
add 4f6b1f0c6 Keep the last modified time when a move falls back to a
stream copy (#2319)
add 07858083a Remove deprecation warnings from the main source sets (#2274)
add 109743730 Test the depth semantics of the impl scope and optional
selectors (#2288)
add 5cd2bb3ad Read the 1.9.x name of the trackingFilename key as a
fallback (#2293)
add 4527bc670 Let a session close quietly after the repository system shut
down (#2294)
add 032d61ae6 Let the IPC named lock box an exclusive lock through a
shared step (#2298)
add ae2d54f50 Stop the IPC client from reconnecting after the factory shut
down (#2299)
add c7d3f1fa9 Prune FileLockNamedLock thread entries and align the
composite unlock error (#2300)
add f01c43d91 Reject generate() on a closed signature generator (#2297)
add fdc69cbf9 deps: update p-u and p-x (#2327)
add 6a1746c2d Fix #1989: fall back to stdout if SLF4J is unavailable when
logging (#2266)
add 2a66b7ca7 Report transport properties once per transfer and close the
discarded 412 response (#2295)
add 2bd4fb7ac build(deps): bump ch.qos.logback:logback-classic from 1.6.6
to 1.6.7 (#2329)
add b55935e7f fix: pre release fixes, some are failing tests and some
Javadoc/site
add 9985a3516 [maven-release-plugin] prepare release maven-resolver-2.0.26
add ef1d7690c [maven-release-plugin] prepare for next development iteration
add 3796eac77 Ignore Maven 3.10 for the resolver 1.9.x line
add 712600b6a [master] Create surefire-tmp before tests use it
add a964145f2 Set the remote last modified time on files downloaded with
Wagon
add be00df57f Fix assertion argument order in DirectoryUtilsTest
add 916b8633c Let notExistsAndIsCreated test the creation of the directory
add 1800d5ed5 Use the static import of Assertions.fail in
FileTransporterTest
add ec19f65bc [master] Drop redundant Surefire temp-dir workarounds
add 9ffcbf907 Use @TempDir in DirectoryUtilsTest
add cfe2a7d5b Run the absolute-path cases of DirectoryUtilsTest on Windows
add 1b8fb1868 Sign HTTP requests with AWS Signature V4 so the HTTP
transports serve S3
add 7d691d34f Keep the AWS secret key only as a wipeable byte array
add 52a38307b Close the request signer with the transport and warn when
signing over plain HTTP
add 5cbaf02bc Derive the signing key under the lock that close() takes
add 99fcff055 Test that closing a signer during sign() never yields a
wrong signature
This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version. This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:
* -- * -- B -- O -- O -- O (c3f287602)
\
N -- N -- N refs/heads/agent/http-aws-sigv4 (99fcff055)
You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.
Any revisions marked "omit" are not gone; other references still
refer to them. Any revisions marked "discard" are gone forever.
No new revisions were added by this update.
Summary of changes:
.github/dependabot.yml | 10 +
maven-resolver-api/pom.xml | 2 +-
.../eclipse/aether/ConfigurationProperties.java | 16 +-
.../aether/DefaultRepositorySystemSession.java | 4 +-
.../eclipse/aether/artifact/AbstractArtifact.java | 4 +-
.../eclipse/aether/RepositoryExceptionTest.java | 6 +-
.../aether/artifact/DefaultArtifactTest.java | 4 +-
.../aether/repository/LocalRepositoryTest.java | 2 +
maven-resolver-connector-basic/pom.xml | 2 +-
.../connector/basic/BasicRepositoryConnector.java | 6 +-
.../connector/basic/ChecksumCalculatorTest.java | 11 +-
.../connector/basic/ChecksumValidatorTest.java | 16 +-
.../maven-resolver-demo-maven-plugin/pom.xml | 2 +-
.../examples/maven/ResolveArtifactMojo.java | 2 +-
.../maven-resolver-demo-snippets/pom.xml | 2 +-
.../maven/resolver/examples/resolver/Resolver.java | 2 +-
.../resolver/examples/resolver/ResolverDemo.java | 8 +-
.../resolver/examples/resolver/ResolverResult.java | 8 +-
.../examples/sisu/SisuRepositorySystemFactory.java | 1 +
.../examples/util/ConsoleRepositoryListener.java | 8 +-
.../util/ReverseTreeRepositoryListener.java | 3 +-
maven-resolver-demos/pom.xml | 2 +-
maven-resolver-generator-gnupg/pom.xml | 2 +-
.../gnupg/GnupgSignatureArtifactGenerator.java | 8 +-
.../generator/gnupg/GpgSignerFactoryTest.java | 16 +-
maven-resolver-generator-sigstore/pom.xml | 2 +-
.../SigstoreSignatureArtifactGenerator.java | 5 +-
.../sigstore/SigstoreSignerFactoryTest.java | 13 +-
maven-resolver-impl/pom.xml | 2 +-
.../aether/internal/impl/DefaultFileProcessor.java | 17 +-
.../aether/internal/impl/DefaultInstaller.java | 53 ++++-
.../impl/DefaultRepositorySystemLifecycle.java | 7 +-
.../impl/EnhancedLocalRepositoryManager.java | 4 +
.../EnhancedLocalRepositoryManagerFactory.java | 9 +-
.../internal/impl/LegacyTrackingFileManager.java | 9 +-
.../impl/NamedLocksTrackingFileManager.java | 11 +-
.../impl/SimpleLocalRepositoryManager.java | 4 +
.../internal/impl/TrackingFileManagerSupplier.java | 9 +-
.../impl/collect/DefaultVersionFilterContext.java | 3 +
.../impl/collect/bf/BfDependencyCollector.java | 2 +
.../impl/collect/df/DfDependencyCollector.java | 2 +
.../named/DefaultNamedLockFactorySelector.java | 25 +--
.../synccontext/named/NamedLockFactoryAdapter.java | 10 +-
.../internal/impl/DefaultArtifactResolverTest.java | 128 +++++++----
.../aether/internal/impl/DefaultDeployerTest.java | 45 ++--
.../internal/impl/DefaultFileProcessorTest.java | 13 +-
.../aether/internal/impl/DefaultInstallerTest.java | 180 +++++++++++-----
.../internal/impl/DefaultMetadataResolverTest.java | 101 +++++----
.../impl/DefaultRepositorySystemLifecycleTest.java | 78 +++++++
.../impl/DefaultUpdateCheckManagerTest.java | 103 ++++-----
.../EnhancedLocalRepositoryManagerFactoryTest.java | 49 ++++-
.../impl/EnhancedLocalRepositoryManagerTest.java | 104 +++++----
.../EnhancedSplitLocalRepositoryManagerTest.java | 4 +
.../internal/impl/FailChecksumPolicyTest.java | 2 +-
.../impl/RecordingRepositoryConnector.java | 18 +-
.../impl/SimpleLocalRepositoryManagerTest.java | 14 +-
.../internal/impl/StaticUpdateCheckManager.java | 6 +-
.../internal/impl/WarnChecksumPolicyTest.java | 2 +-
.../SummaryFileTrustedChecksumsSourceTest.java | 4 +-
.../collect/DefaultVersionFilterBuilderTest.java | 16 +-
.../collect/DefaultVersionFilterContextTest.java | 2 +
.../DependencyCollectorDelegateTestSupport.java | 18 +-
.../GroupIdRemoteRepositoryFilterSourceTest.java | 3 +-
...ChecksumsArtifactResolverPostProcessorTest.java | 2 -
.../impl/scope/OptionalDependencySelectorTest.java | 110 ++++++++++
.../impl/scope/ScopeDependencySelectorTest.java | 143 +++++++++++++
.../NamedLockFactoryAdapterTestSupport.java | 10 +-
maven-resolver-named-locks-hazelcast/pom.xml | 2 +-
.../hazelcast/HazelcastCPSemaphoreAdapterIT.java | 1 +
.../HazelcastCPSemaphoreNamedLockFactoryIT.java | 1 +
.../HazelcastClientCPSemaphoreAdapterIT.java | 1 +
...zelcastClientCPSemaphoreNamedLockFactoryIT.java | 1 +
.../NamedLockFactoryAdapterTestSupport.java | 2 -
.../RequireExplicitHazelcastConfigTest.java | 1 +
maven-resolver-named-locks-ipc/pom.xml | 2 +-
.../org/eclipse/aether/named/ipc/IpcClient.java | 11 +
.../org/eclipse/aether/named/ipc/IpcNamedLock.java | 8 +-
.../org/eclipse/aether/named/ipc/IpcServer.java | 28 ++-
.../eclipse/aether/named/ipc/IpcClientTest.java | 35 ++-
.../ipc/IpcServerLoggingWithoutSlf4jTest.java | 152 +++++++++++++
.../ipc/NamedLockFactoryAdapterTestSupport.java | 2 -
.../named/ipc/NamedLockFactoryTestSupport.java | 14 ++
maven-resolver-named-locks-redisson/pom.xml | 2 +-
.../RedissonSemaphoreNamedLockFactory.java | 3 +-
.../NamedLockFactoryAdapterTestSupport.java | 2 -
maven-resolver-named-locks/pom.xml | 2 +-
.../aether/named/support/CompositeNamedLock.java | 3 +
.../aether/named/support/FileLockNamedLock.java | 41 +++-
.../aether/named/NamedLockFactoryTestSupport.java | 27 +++
maven-resolver-spi/pom.xml | 2 +-
.../aether/spi/io/PathProcessorSupport.java | 9 +
.../aether/spi/io/PathProcessorSupportTest.java | 64 ++++++
maven-resolver-supplier-mvn3/pom.xml | 2 +-
.../org/eclipse/aether/spi/locator/Service.java | 6 +-
.../eclipse/aether/spi/locator/ServiceLocator.java | 6 +-
.../aether/supplier/RepositorySystemSupplier.java | 46 +++-
maven-resolver-supplier-mvn4/pom.xml | 2 +-
.../aether/supplier/RepositorySystemSupplier.java | 7 +-
.../aether/supplier/SessionBuilderSupplier.java | 6 +-
maven-resolver-test-http/pom.xml | 4 +-
.../test/util/http/HttpTransporterTest.java | 64 ++++--
.../test/util/http/RecordingTransportListener.java | 11 +
maven-resolver-test-util/pom.xml | 2 +-
.../internal/test/util/TestFileProcessor.java | 9 +-
.../aether/internal/test/util/TestFileUtils.java | 60 +++++-
.../test/util/TestLocalRepositoryManager.java | 20 +-
maven-resolver-tools/pom.xml | 8 +-
maven-resolver-transport-apache/pom.xml | 2 +-
.../aether/transport/apache/ApacheTransporter.java | 29 ++-
.../transport/apache/ApacheTransporterTest.java | 14 ++
maven-resolver-transport-classpath/pom.xml | 2 +-
.../classpath/ClasspathTransporterTest.java | 33 ++-
maven-resolver-transport-file/pom.xml | 2 +-
.../aether/transport/file/FileTransporterTest.java | 12 +-
.../maven-resolver-transport-jdk/pom.xml | 4 +-
.../maven-resolver-transport-jdk11/pom.xml | 2 +-
.../aether/transport/jdk/JdkTransporter.java | 15 +-
.../maven-resolver-transport-jdk8/pom.xml | 2 +-
maven-resolver-transport-jdk-parent/pom.xml | 2 +-
maven-resolver-transport-jetty/pom.xml | 15 +-
.../aether/transport/jetty/JettyTransporter.java | 10 +-
.../transport/jetty/InsecureRedirectGuardTest.java | 8 -
.../transport/jetty/JettyTransporterTest.java | 16 +-
.../jetty/OriginScopedHeadersListenerTest.java | 7 -
maven-resolver-transport-minio/pom.xml | 2 +-
.../minio/MinioTransporterFactoryTest.java | 3 -
.../aether/transport/minio/MinioTransporterIT.java | 2 -
maven-resolver-transport-url/pom.xml | 2 +-
maven-resolver-transport-wagon/pom.xml | 2 +-
.../aether/transport/wagon/WagonTransporter.java | 35 ++-
.../wagon/AbstractWagonTransporterTest.java | 42 +++-
.../aether/transport/wagon/MemStreamWagon.java | 1 +
.../eclipse/aether/transport/wagon/MemWagon.java | 1 +
.../aether/transport/wagon/MemWagonUtils.java | 5 +
maven-resolver-util/pom.xml | 2 +-
.../graph/selector/OptionalDependencySelector.java | 6 +-
.../graph/selector/ScopeDependencySelector.java | 7 +-
.../repository/ChainedLocalRepositoryManager.java | 4 +
.../eclipse/aether/util/DirectoryUtilsTest.java | 80 +++----
.../org/eclipse/aether/util/FileUtilsTest.java | 1 +
.../aether/util/artifact/SubArtifactTest.java | 9 +-
.../transport/http/HttpTransporterUtilsTest.java | 37 ++++
.../selector/OptionalDependencySelectorTest.java | 1 +
.../selector/ScopeDependencySelectorTest.java | 1 +
.../graph/transformer/ConflictResolverTest.java | 14 +-
.../graph/transformer/JavaScopeSelectorTest.java | 4 +-
.../transformer/NearestVersionSelectorTest.java | 1 +
.../transformer/SimpleOptionalitySelectorTest.java | 4 +-
.../traverser/AndDependencyTraverserTest.java | 2 +-
.../graph/traverser/FatArtifactTraverserTest.java | 2 +-
.../traverser/StaticDependencyTraverserTest.java | 2 +-
.../ContextualSnapshotVersionFilterTest.java | 4 +
.../graph/version/PredicateVersionFilterTest.java | 1 +
.../visitor/FilteringDependencyVisitorTest.java | 3 +-
.../visitor/PostorderNodeListGeneratorTest.java | 1 +
.../visitor/PreorderNodeListGeneratorTest.java | 1 +
.../util/listener/ChainedTransferListenerTest.java | 7 +-
pom.xml | 39 ++--
src/site/markdown/api-compatibility.md | 2 +-
src/site/markdown/upgrading-resolver.md | 236 ++++++++++++++++++---
.../markdown/using-resolver-in-maven-plugins.md | 40 +++-
161 files changed, 2253 insertions(+), 686 deletions(-)
create mode 100644
maven-resolver-impl/src/test/java/org/eclipse/aether/internal/impl/DefaultRepositorySystemLifecycleTest.java
create mode 100644
maven-resolver-impl/src/test/java/org/eclipse/aether/internal/impl/scope/OptionalDependencySelectorTest.java
create mode 100644
maven-resolver-impl/src/test/java/org/eclipse/aether/internal/impl/scope/ScopeDependencySelectorTest.java
copy
maven-resolver-spi/src/main/java/org/eclipse/aether/spi/io/ChecksumProcessor.java
=>
maven-resolver-named-locks-ipc/src/test/java/org/eclipse/aether/named/ipc/IpcClientTest.java
(56%)
create mode 100644
maven-resolver-named-locks-ipc/src/test/java/org/eclipse/aether/named/ipc/IpcServerLoggingWithoutSlf4jTest.java