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

Dependencies should not be able to introduce repositories to the build

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Not A Problem
    • None
    • None
    • None

    Description

      If you depend on an artifact that has repositories or pluginRepositories defined in the pom, those repositories are also searched for artifacts.

      It's disconcerting when you think you've overridden 'central' and set things up to use only internal repositories, and Maven still tries to to download artifacts from elsewhere.

      Attachments

        Issue Links

          Activity

            People

              jvanzyl Jason van Zyl
              wsmoak Wendy Smoak
              Votes:
              3 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: