You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Marco Brandizi (Jira)" <ji...@apache.org> on 2019/09/16 12:03:00 UTC
[jira] [Updated] (MNG-6768) Support inheritable multiple settings
[ https://issues.apache.org/jira/browse/MNG-6768?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Marco Brandizi updated MNG-6768:
--------------------------------
Description:
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
# user and global settings were inherited and possibly overridden by the further settings file.
# multiple --settings <file> could be specified and a merge of settings could be composed by maven (eg, <profile> blocks would come from multiple files, <properties> would be overridden, considering the order in the command line).
was:
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 wrong and poor. It would be much better if
# user and global settings were inherited and possibly overridden by the further settings file.
# multiple --settings <file> could be specified and a merge of settings could be composed by maven (eg, <profile> blocks would come from multiple files, <properties> would be overridden, considering the order in the command line).
> Support inheritable multiple settings
> -------------------------------------
>
> Key: MNG-6768
> URL: https://issues.apache.org/jira/browse/MNG-6768
> Project: Maven
> Issue Type: Improvement
> Components: Settings
> Reporter: Marco Brandizi
> Priority: Major
>
> 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
> # user and global settings were inherited and possibly overridden by the further settings file.
> # multiple --settings <file> could be specified and a merge of settings could be composed by maven (eg, <profile> blocks would come from multiple files, <properties> would be overridden, considering the order in the command line).
>
--
This message was sent by Atlassian Jira
(v8.3.2#803003)