This is an automated email from the ASF dual-hosted git repository. gnodet pushed a commit to branch maven-4.0.x in repository https://gitbox.apache.org/repos/asf/maven.git
The following commit(s) were added to refs/heads/maven-4.0.x by this push: new 71fb7dff3f Switch to rwlock-local (#2546) (#2555) 71fb7dff3f is described below commit 71fb7dff3f24d5da7e7c4acbd43982fe73fd6a9d Author: Guillaume Nodet <gno...@gmail.com> AuthorDate: Thu Jul 3 08:35:18 2025 +0200 Switch to rwlock-local (#2546) (#2555) This change configures Maven 4 to use rwlock-local locks instead of the default file-based locks for the resolver's named locking mechanism. (cherry picked from commit 61148ed2c43003e5b0d3a993427fcf3818555b1a) --- .../src/test/resources/mavenHome/conf/maven-system.properties | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/impl/maven-cli/src/test/resources/mavenHome/conf/maven-system.properties b/impl/maven-cli/src/test/resources/mavenHome/conf/maven-system.properties index ca1c0ba2c5..a961790d75 100644 --- a/impl/maven-cli/src/test/resources/mavenHome/conf/maven-system.properties +++ b/impl/maven-cli/src/test/resources/mavenHome/conf/maven-system.properties @@ -66,3 +66,9 @@ maven.user.extensions = ${maven.user.conf}/extensions.xml # Maven central repository URL. # maven.repo.central = ${env.MAVEN_REPO_CENTRAL:-https://repo.maven.apache.org/maven2} + +# +# Maven Resolver Configuration +# +# Align locking to the same as in Maven 3.9.x +aether.syncContext.named.factory = rwlock-local