Uploaded image for project: 'Maven'
  1. Maven
  2. MNG-6768

Support inheritable multiple settings

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • Settings
    • None

    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

      1. user and global settings were inherited and possibly overridden by the further settings file.
      2. 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).

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            zakmck Marco Brandizi
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: