[ 
https://issues.apache.org/jira/browse/MRESOLVER-309?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tamas Cservenak updated MRESOLVER-309:
--------------------------------------
    Description: 
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.

  was:
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.

what really should happen is that in this case stand off, as transfer will 
anyway fail (as unsupported layout) but it will fail gracefully, while it MAY 
succeed using other remote repository.


> 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
>            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