apache / apache/maven

[MNG-6768] Support inheritable multiple settings

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

Description

**[Marco Brandizi](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=zakmck)** opened **[MNG-6768](https://issues.apache.org/jira/browse/MNG-6768?redirect=false)** and commented

As far as I know, the --settings option supports just one settings file. Worse, when it is used, user settings in ~/.m2/settings.xml are ignored (not tried, but I suspect global settings are too).

To me, this is rather poor. It would be much better if
1. user and global settings were inherited and possibly overridden by the further settings file.
2. multiple --settings \ could be specified and a merge of settings could be composed by maven (eg, \ blocks would come from multiple files, \ would be overridden, considering the order in the command line).

 

---
No further details from [MNG-6768](https://issues.apache.org/jira/browse/MNG-6768?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.