apache / apache/maven

[MNG-5820] Allow extensions in settings.xml

Open
#7,605 7 comments 0 reactions 0 assignees View on GitHub
enhancement priority:minor
Dominant language
Java
Stars
5.3k
Forks
3.1k
Avg merge
21h 11m
Merged PRs (30d)
312

Description

**[Yuri](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=ydewit)** opened **[MNG-5820](https://issues.apache.org/jira/browse/MNG-5820?redirect=false)** and commented

Since 3.3.1, we are now allowed to specify extensions in the projectBaseDir/.mvn/extensions.xml. This is great on it's own, but I have a case where repo urls are externalized to ~/.m2/settings.xml and these urls require an extension. Right now, the url and the extension that goes along with it are managed in two completely different places.

Ideally, I would like to see the option to add an extension to our existing ~/.m2/settings.xml.

---

**Affects:** 3.3.1

8 votes, 6 watchers

Contributor guide

Open the contributing guide

Research direction

Start by reviewing Maven's existing handling of projectBaseDir/.mvn/extensions.xml and ~/.m2/settings.xml, focusing on how repository URLs are configured. Done means an extension required by an externalized repository URL can be declared in settings.xml and used together with that repository configuration.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
build-system
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.