Repository ID handling improvement by cstamas · Pull Request #1570 · apache/maven-resolver
Many feature blindly assume (as Maven validates this) that repository.id is "path segment"-safe string. Still, we found som fairly recent POMs (like maven-core 3.6.1!) that contain in their transitive hull POMs that contain FS unsafe repository IDs. These IDs makes features like split repository, or metadata caching go hayway. This feature contains: * fix for these "bad" repository.id-s (by "fixing" them to be as should - FS safe * preparation (unused yet) for better distinction of repositories, not only by ID, that may lead to clashes still, but by `$(repo.id)-sha1($(repo.url))`
cstamas
marked this pull request as ready for review
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