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

Move Central repo definition out of Maven's jars so it can be more easily changed

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Reopened
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 3.3.3
    • Fix Version/s: 4.0.x-candidate
    • Component/s: None
    • Labels:
      None

      Description

      The Maven Central Repository definition is currently a hidden default repository available to Maven. The configuration of the Central Repo can be changed only if you know the (somewhat obscure) repository id "central": who knows that it is defined in Maven Super POM, defined in Maven Model Builder?

      It would be better if the configuration of the central repository was moved from the Maven internals to the default settings.xml.

      This way the repository would still be available to a default Maven install, but would also be clear to users how the central repo is configured in case it needs to be changed for mirror settings or some other reason. It would also make the repository ordering in the settings more clear.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                michael-o Michael Osipov
                Reporter:
                pgier Paul Gier
              • Votes:
                3 Vote for this issue
                Watchers:
                10 Start watching this issue

                Dates

                • Created:
                  Updated: