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 1e86daed [MRESOLVER-701] Support legacy property (#723)
1e86daed is described below

commit 1e86daed47323d594096bbce1fddfda415e48bc3
Author: Tamas Cservenak <ta...@cservenak.net>
AuthorDate: Tue May 13 12:15:18 2025 +0200

    [MRESOLVER-701] Support legacy property (#723)
    
    For easier transitioning.
    
    ---
    
    https://issues.apache.org/jira/browse/MRESOLVER-701
---
 .../eclipse/aether/internal/impl/Maven2RepositoryLayoutFactory.java  | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git 
a/maven-resolver-impl/src/main/java/org/eclipse/aether/internal/impl/Maven2RepositoryLayoutFactory.java
 
b/maven-resolver-impl/src/main/java/org/eclipse/aether/internal/impl/Maven2RepositoryLayoutFactory.java
index 2cb9b330..c89ca5ff 100644
--- 
a/maven-resolver-impl/src/main/java/org/eclipse/aether/internal/impl/Maven2RepositoryLayoutFactory.java
+++ 
b/maven-resolver-impl/src/main/java/org/eclipse/aether/internal/impl/Maven2RepositoryLayoutFactory.java
@@ -111,7 +111,10 @@ public final class Maven2RepositoryLayoutFactory 
implements RepositoryLayoutFact
                         session,
                         DEFAULT_CHECKSUMS_ALGORITHMS,
                         CONFIG_PROP_CHECKSUMS_ALGORITHMS + "." + 
repository.getId(),
-                        CONFIG_PROP_CHECKSUMS_ALGORITHMS)));
+                        CONFIG_PROP_CHECKSUMS_ALGORITHMS,
+                        // MRESOLVER-701: support legacy properties for 
simpler transitioning
+                        "aether.checksums.algorithms",
+                        "aether.checksums.algorithms." + repository.getId())));
 
         return new Maven2RepositoryLayout(checksumsAlgorithms, 
artifactPredicateFactory.newInstance(session));
     }

Reply via email to