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

ASF GitHub Bot commented on MRESOLVER-309:
------------------------------------------

cstamas merged PR #233:
URL: https://github.com/apache/maven-resolver/pull/233




> PrefixesRemoteRepositoryFilterSource aborts the build while it should not
> -------------------------------------------------------------------------
>
>                 Key: MRESOLVER-309
>                 URL: https://issues.apache.org/jira/browse/MRESOLVER-309
>             Project: Maven Resolver
>          Issue Type: Bug
>            Reporter: Tamas Cservenak
>            Assignee: Tamas Cservenak
>            Priority: Blocker
>             Fix For: 1.9.3
>
>
> The PrefixesRemoteRepositoryFilterSource caches layouts, and it is to jumpy 
> when a non existent (or unsupported) layout like "legacy" is stepped on, as 
> PrefixesRemoteRepositoryFilterSource.cacheLayout will wrap the 
> NoRepositoryLayoutException into RuntimeException that will "bubble up" to 
> surface, stopping the build.
> What really should happen is that in this case filter "stands off", as 
> transfer will anyway fail (due unsupported layout), but it will fail 
> gracefully, while it MAY succeed using other remote repository.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to