apache / apache/maven

[MNG-8002] Allow to bypass mirror for SNAPSHOT resolution

Open
#10,856 1 comment 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

**[Konrad Windszus](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=kwin)** opened **[MNG-8002](https://issues.apache.org/jira/browse/MNG-8002?redirect=false)** and commented

Currently the [mirror settings](https://maven.apache.org/guides/mini/guide-mirror-settings.html) in `settings.xml` only allows to either mirror everything with a wildcard or exclude/include specific repository ids.
Such an exclude/include list is currently hard to maintain. To better support use cases where the RELEASE version is available in Maven Central (often supposed to be mirrored) but the according SNAPSHOT is in another repo (OSSRH, Apache, Eclipse, GitHub, Azure, ....) it would be beneficial to also allow to bypass the mirror for SNAPSHOT requests and instead use the repositories defined inside the pom.xml.

---
No further details from [MNG-8002](https://issues.apache.org/jira/browse/MNG-8002?redirect=false)

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.