Maven
  1. Maven
  2. MNG-4990

RepositorySystem#resolve(request) uses two different local repositories

    Details

    • Type: Bug Bug
    • Status: 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

      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

        bernd created issue -
        Hide
        Benjamin Bentmann added a comment -

        Fixed in r1073928.

        Show
        Benjamin Bentmann added a comment - Fixed in r1073928 .
        Benjamin Bentmann made changes -
        Field Original Value New Value
        Status Open [ 1 ] Closed [ 6 ]
        Fix Version/s 3.0.3 [ 17061 ]
        Assignee Benjamin Bentmann [ bentmann ]
        Resolution Fixed [ 1 ]
        Mark Thomas made changes -
        Project Import Sun Apr 05 08:49:45 UTC 2015 [ 1428223785911 ]
        Mark Thomas made changes -
        Workflow jira [ 12715244 ] Default workflow, editable Closed status [ 12754799 ]
        Mark Thomas made changes -
        Project Import Sun Apr 05 21:45:26 UTC 2015 [ 1428270326204 ]
        Mark Thomas made changes -
        Workflow jira [ 12951524 ] Default workflow, editable Closed status [ 12987808 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Closed Closed
        33d 5h 11m 1 Benjamin Bentmann 23/Feb/11 14:26

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development