Bug: Filter fixes by cstamas · Pull Request #1655 · apache/maven-resolver
Two major issues: one was that it tried to fix the Maven issue of remote repository uniqueness (globally), and that attempt was in fact wrong, fix is elsewhere. The reason it tried to do this is in fact to circumvent locking issues apache#1644. The other issue was filter lifecycle, manager did it wrongly: the bug caused that one session was used to acquire filters and same filter got used for potentially other (maybe even reconfigured) session. This overlook forced filters to implement hoops and loops (to prevent recursion), but also prevented any third party code to have saying in filter operation. Changes: * fix manager to make sure filters and session are aligned * fix/simplify prefix filter recursion prevention * introduce public and documented way to inhibit prefix discovery
cstamas added a commit to cstamas/maven-resolver that referenced this pull request
Nov 14, 2025Also, fix misaligned filter sources re session This is "mild backport" of apache#1655
cstamas
marked this pull request as ready for review
Whenever RemoteRepository is used as a key in map, it has to be normalized, as otherwise things may fall apart.
cstamas
changed the title
Bug: fix prefix filter discovery
Bug: Filter fixes
cstamas added a commit that referenced this pull request
Nov 17, 2025Changes: * fix manager to make sure filters and session are aligned * support same (newly introduced) properties This is "mild backport" of #1655
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters