You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by cs...@apache.org on 2025/09/04 08:39:39 UTC
(maven-resolver) branch master updated: Revert locking change (#1576)
This is an automated email from the ASF dual-hosted git repository.
cstamas 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 aab9a4cc4 Revert locking change (#1576)
aab9a4cc4 is described below
commit aab9a4cc47dd1f1f0f75d46a0403f7cbbfadd3ec
Author: Tamas Cservenak <ta...@cservenak.net>
AuthorDate: Thu Sep 4 10:39:33 2025 +0200
Revert locking change (#1576)
Reverts 6e673aa186386989e592e82aea0c083b282dbe7a
---
.../impl/synccontext/named/NamedLockFactoryAdapterFactoryImpl.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/maven-resolver-impl/src/main/java/org/eclipse/aether/internal/impl/synccontext/named/NamedLockFactoryAdapterFactoryImpl.java b/maven-resolver-impl/src/main/java/org/eclipse/aether/internal/impl/synccontext/named/NamedLockFactoryAdapterFactoryImpl.java
index 6a56ff96d..dabe250b0 100644
--- a/maven-resolver-impl/src/main/java/org/eclipse/aether/internal/impl/synccontext/named/NamedLockFactoryAdapterFactoryImpl.java
+++ b/maven-resolver-impl/src/main/java/org/eclipse/aether/internal/impl/synccontext/named/NamedLockFactoryAdapterFactoryImpl.java
@@ -29,7 +29,7 @@ import org.eclipse.aether.MultiRuntimeException;
import org.eclipse.aether.RepositorySystemSession;
import org.eclipse.aether.impl.RepositorySystemLifecycle;
import org.eclipse.aether.named.NamedLockFactory;
-import org.eclipse.aether.named.providers.LocalReadWriteLockNamedLockFactory;
+import org.eclipse.aether.named.providers.FileLockNamedLockFactory;
import org.eclipse.aether.util.ConfigUtils;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@@ -51,7 +51,7 @@ import static java.util.Objects.requireNonNull;
@Singleton
@Named
public class NamedLockFactoryAdapterFactoryImpl implements NamedLockFactoryAdapterFactory {
- public static final String DEFAULT_FACTORY_NAME = LocalReadWriteLockNamedLockFactory.NAME;
+ public static final String DEFAULT_FACTORY_NAME = FileLockNamedLockFactory.NAME;
public static final String DEFAULT_NAME_MAPPER_NAME = NameMappers.FILE_GAV_NAME;