Uploaded image for project: 'Maven Resolver'
  1. Maven Resolver
  2. MRESOLVER-263

Resolver side routing and filtering capability

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 1.8.0
    • None
    • Resolver
    • None

    Description

      Maven resolver is fine tool when it comes to playing with mirroring of repositories. Yet it has few points which drastically lower its performance.

      Given an example of project with two mirrored repositories:

      repoA-mirror -> repoA -> central

      repoB-mirror -> central

      Resolver will attempt to fetch metadata from repoA mirror and repoB mirror even if its not feasible. Currently there is no way to tell resolver that given mirror is bound to subset of artifacts as routing and filtering capabilities on that end are very short. It happens that mirrored repository contains specific releases but also central entries.

      All this leads to situations that same metadata is requested several times. Problem increases with more repositories as each of them can be queried. This obviously multiplies network traffic which could be spent somewhere else.

      I don't really have an idea how this could be solved.  I am just aware of existence of that issue. At the same time I do not wish to utilize specific products which work as a repository proxy. They are a workaround for this resolver issue.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              ldywicki Łukasz Dywicki
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: