You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Tamas Cservenak (Jira)" <ji...@apache.org> on 2023/01/04 16:50:00 UTC
[jira] [Created] (MRESOLVER-309) PrefixesRemoteRepositoryFilterSource aborts the build while it should not
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)