[ 
https://issues.apache.org/jira/browse/MRESOLVER-126?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Konrad Windszus updated MRESOLVER-126:
--------------------------------------
    Description: 
The property {{aether.connector.http.headers}} requires a 
{{Map<String,String>}} as value 
(https://github.com/apache/maven-resolver/blob/47edcfe69c4e52ced4cb93d65b7348b5645cdd68/maven-resolver-transport-http/src/main/java/org/eclipse/aether/transport/http/HttpTransporter.java#L139).
 As in 
https://github.com/apache/maven-resolver/blob/47edcfe69c4e52ced4cb93d65b7348b5645cdd68/maven-resolver-util/src/main/java/org/eclipse/aether/util/ConfigUtils.java#L362
 there is no type conversion, it is currently impossible to configure this from 
Apache Maven (as Maven is using system properties).

{{List}} suffers from the same issue but is currently not used 
(https://github.com/apache/maven-resolver/blob/47edcfe69c4e52ced4cb93d65b7348b5645cdd68/maven-resolver-util/src/main/java/org/eclipse/aether/util/ConfigUtils.java#L319)

  was:
The property {{aether.connector.http.headers}} requires a 
{{Map<String,String>}} as value 
(https://github.com/apache/maven-resolver/blob/47edcfe69c4e52ced4cb93d65b7348b5645cdd68/maven-resolver-transport-http/src/main/java/org/eclipse/aether/transport/http/HttpTransporter.java#L139).
 As in 
https://github.com/apache/maven-resolver/blob/47edcfe69c4e52ced4cb93d65b7348b5645cdd68/maven-resolver-util/src/main/java/org/eclipse/aether/util/ConfigUtils.java#L362
 there is no type conversion, it is currently impossible to configure this from 
Apache Maven (as Maven is using system properties).

List suffers from the same issue but is currently not used 
(https://github.com/apache/maven-resolver/blob/47edcfe69c4e52ced4cb93d65b7348b5645cdd68/maven-resolver-util/src/main/java/org/eclipse/aether/util/ConfigUtils.java#L319)


> Support property type conversion from String into Map
> -----------------------------------------------------
>
>                 Key: MRESOLVER-126
>                 URL: https://issues.apache.org/jira/browse/MRESOLVER-126
>             Project: Maven Resolver
>          Issue Type: Improvement
>            Reporter: Konrad Windszus
>            Priority: Major
>
> The property {{aether.connector.http.headers}} requires a 
> {{Map<String,String>}} as value 
> (https://github.com/apache/maven-resolver/blob/47edcfe69c4e52ced4cb93d65b7348b5645cdd68/maven-resolver-transport-http/src/main/java/org/eclipse/aether/transport/http/HttpTransporter.java#L139).
>  As in 
> https://github.com/apache/maven-resolver/blob/47edcfe69c4e52ced4cb93d65b7348b5645cdd68/maven-resolver-util/src/main/java/org/eclipse/aether/util/ConfigUtils.java#L362
>  there is no type conversion, it is currently impossible to configure this 
> from Apache Maven (as Maven is using system properties).
> {{List}} suffers from the same issue but is currently not used 
> (https://github.com/apache/maven-resolver/blob/47edcfe69c4e52ced4cb93d65b7348b5645cdd68/maven-resolver-util/src/main/java/org/eclipse/aether/util/ConfigUtils.java#L319)



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to