Skip to content

fix version_finder not preferring private registry#5907

Merged
jakecoffman merged 2 commits intomainfrom
jakecoffman/maven-fix-version-finder-repos
Oct 17, 2022
Merged

fix version_finder not preferring private registry#5907
jakecoffman merged 2 commits intomainfrom
jakecoffman/maven-fix-version-finder-repos

Conversation

@jakecoffman
Copy link
Copy Markdown
Member

In #5884 I thought that passing in credential metadata to the RepositoryFinder was redundant since the repositories method adds them, but that means it can't fetch parent poms when needed from private registries.

I also fixed the ordering to be consistent with the RepositoryFinder.

This broke some specs, so I fixed those since it added some HEAD calls. Also noticed that the reject didn't seem to work as URLs without auth_headers were still getting through, so I've fixed that as well.

@jakecoffman jakecoffman requested a review from a team as a code owner October 17, 2022 17:39
@jakecoffman jakecoffman enabled auto-merge October 17, 2022 19:44
@jakecoffman jakecoffman merged commit 7bbebef into main Oct 17, 2022
@jakecoffman jakecoffman deleted the jakecoffman/maven-fix-version-finder-repos branch October 17, 2022 19:56
@pavera pavera mentioned this pull request Oct 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants