Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix version_finder not preferring private registry #5907

Merged
merged 2 commits into from
Oct 17, 2022

Conversation

jakecoffman
Copy link
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