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

Agile BoardAttach filesAttach ScreenshotVotersStop watchingWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            gnodet Guillaume Nodet
            pgier Paul Gier
            Votes:
            3 Vote for this issue
            Watchers:
            12 Stop watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment