You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2022/06/24 10:03:00 UTC

[jira] [Commented] (MRESOLVER-266) Simplify adapter creation and align configuration for it

    [ https://issues.apache.org/jira/browse/MRESOLVER-266?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17558421#comment-17558421 ] 

ASF GitHub Bot commented on MRESOLVER-266:
------------------------------------------

cstamas opened a new pull request, #188:
URL: https://github.com/apache/maven-resolver/pull/188

   Simplified adapter creation and now as everything else in resolver, session
   config properties are used as configuration source, not Java system
   properties.
   
   ---
   
   https://issues.apache.org/jira/browse/MRESOLVER-266




> Simplify adapter creation and align configuration for it
> --------------------------------------------------------
>
>                 Key: MRESOLVER-266
>                 URL: https://issues.apache.org/jira/browse/MRESOLVER-266
>             Project: Maven Resolver
>          Issue Type: Task
>            Reporter: Tamás Cservenák
>            Priority: Major
>             Fix For: 1.8.2
>
>
> Rework how named lock factory adapter is created, it is the ONLY bit reaching directly to Java System Properties instead to rely on session config properties. This makes it impossible to control from Maven for example (as it is "too late").
> Proposed changes:
> * adapter should be created based on session config properties, not Java system properties
> * adapter should be stored within session
> * adapter creation should be vastly simplified (currently we have 4 involved class: selectors and default sync context)



--
This message was sent by Atlassian Jira
(v8.20.7#820007)