You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Tamas Cservenak (Jira)" <ji...@apache.org> on 2023/02/16 10:41:00 UTC

[jira] [Commented] (MRESOLVER-163) Introduce "configuration" or "feature" helper to centralize various flags/params/configs

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

Tamas Cservenak commented on MRESOLVER-163:
-------------------------------------------

... or something more than "just a const collection", given there is now MRESOLVER-310 as well...

> Introduce "configuration" or "feature" helper to centralize various flags/params/configs
> ----------------------------------------------------------------------------------------
>
>                 Key: MRESOLVER-163
>                 URL: https://issues.apache.org/jira/browse/MRESOLVER-163
>             Project: Maven Resolver
>          Issue Type: Task
>          Components: Demo, Resolver
>            Reporter: Tamas Cservenak
>            Priority: Major
>
> Currently we have all kind of {{aether...}} keyed properties (see https://maven.apache.org/resolver/configuration.html) available to configure Maven Resolver behaviour. 
> Bad1: they are spread across codebase
> Bad2: it is not always clear, is it sourced from session or system property or both 
> So, I'd propose to MOVE all these keys (and probably their handling (reading) code into here as well, so we could have
> Good1: all these keys would be listed at one place (easier to document, check, etc)
> Good2: simply, one class introspection (reading by dev) would tell all the story of it.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)