Maven
  1. Maven
  2. MNG-4990

RepositorySystem#resolve(request) uses two different local repositories

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.2
    • Fix Version/s: 3.0.3
    • Labels:
      None
    • Environment:
      Win7 64bit, JDK 1.6.0_21 64bit, Maven 3.0.2
    • Complexity:
      Intermediate
    • Number of attachments :
      0

      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.

        Activity

        Hide
        Benjamin Bentmann added a comment -

        Fixed in r1073928.

        Show
        Benjamin Bentmann added a comment - Fixed in r1073928 .

          People

          • Assignee:
            Benjamin Bentmann
            Reporter:
            Bernd Vogt
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: