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

RepositorySystem#resolve(request) uses two different local repositories

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.0.2
    • 3.0.3
    • None
    • Win7 64bit, JDK 1.6.0_21 64bit, Maven 3.0.2

    Description

      RepositorySystem#resolve(ArtifactResolutionRequest) doesn't use the local repository passed in via the resolution request as target for metadata downloads (pom.xml). It uses the local repository from the settings.xml instead.

      Current behaviour:
      After the resolution process there are only the jar file (and their checksums) contained in the "custom" local repository that was set via the resolution request. The pom and parent pom files (and their checksums) could be found in the "global" local repository (configured via settings.xml).

      Expected:
      After the resolution process the whole stuff is contained in the "custom" local repository, the "global" one wasn't touched.

      Attachments

        Activity

          People

            bentmann Benjamin Bentmann
            bernd Bernd Mathiske
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: