Uploaded image for project: 'Maven Project Web Site'
  1. Maven Project Web Site
  2. MNGSITE-430

Clarify remote repository resolution order

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None

    Description

      It is possible to declare remote repositories in settings.xml and pom.xml. While for the settings.xml it has to be given in a profile, for pom.xml it can be given in the top-level repositories element as well as in profiles. The order in which an artifact is tried to be resolved from the different remote repo is sometimes crucial to know (e.g. to speed up build times by first checking against remote repos having most of the artifacts like Maven Central)

      It would be nice to document this in https://maven.apache.org/guides/introduction/introduction-to-repositories.html

      Attachments

        Activity

          People

            slachiewicz Sylwester Lachiewicz
            kwin Konrad Windszus
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: