[Created] (MNG-6768) Support inheritable multiple settings

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

[Created] (MNG-6768) Support inheritable multiple settings

Sylwester Lachiewicz (Jira)
Marco Brandizi created MNG-6768:

             Summary: 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

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).


This message was sent by Atlassian Jira