[ 
https://issues.apache.org/jira/browse/MRESOLVER-263?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17551131#comment-17551131
 ] 

Łukasz Dywicki commented on MRESOLVER-263:
------------------------------------------

[~michael-o] thanks for pointing out. While referred issue uses different 
wording it is essentially the same issue!

> Resolver side routing and filtering capability
> ----------------------------------------------
>
>                 Key: MRESOLVER-263
>                 URL: https://issues.apache.org/jira/browse/MRESOLVER-263
>             Project: Maven Resolver
>          Issue Type: New Feature
>          Components: Resolver
>    Affects Versions: 1.8.0
>            Reporter: Łukasz Dywicki
>            Priority: Major
>
> 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.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

Reply via email to