Tamas Cservenak created MRESOLVER-309:
-----------------------------------------

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

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.



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

Reply via email to