apache / apache/maven

[MNG-7849] Improvement in settings/server configuration for http transport

Open
#9,072 2 comments 0 reactions 0 assignees View on GitHub
enhancement priority:major
Dominant language
Java
Stars
5.3k
Forks
3.1k
Avg merge
20h 42m
Merged PRs (30d)
297

Description

**[Slawomir Jaranowski](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=slawekjaranowski)** opened **[MNG-7849](https://issues.apache.org/jira/browse/MNG-7849?redirect=false)** and commented

When we use configuration like: `server/configuration/httpConfiguration/all/connectionTimeout` we always have a warning:

```
[WARNING] Settings for server serverId uses legacy format
```

Such warning should be more descriptive.

Even we use `-Dmaven.resolver.transport=wagon` warning is still present - check if should be

We can also map `server/configuration//usePreemptive` to new value with native transport - many users can use it ... but now don't know that no working any more.

We can consider if other internal options which support serverId should be mapped in `server/configuration`

We can also consider to extends settings model with transport configuration - instead using
`configuration` which can be anything and is not validate.

---

**Issue Links:**
- [MNG-7850](https://issues.apache.org/jira/browse/MNG-7850) Artifact Resolver config is ignored

- [MRESOLVER-426](https://issues.apache.org/jira/browse/MRESOLVER-426) Move some HTTP configuration properties from transport-http

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.