-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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(managers/maven): change order of extracted registryUrls #26828
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for contributing.
Here my thoughts regarding the implementation.
lib/modules/manager/maven/__fixtures__/settings.updated.schema.xml
Outdated
Show resolved
Hide resolved
Co-authored-by: Sebastian Poxhofer <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Otherwise LGTM
Co-authored-by: Johannes Feichtner <[email protected]>
Co-authored-by: Michael Kriese <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should tested on real repo again
🎉 This PR is included in version 37.181.3 🎉 The release is available on: Your semantic-release bot 📦🚀 |
…bot#26828) Co-authored-by: Sebastian Poxhofer <[email protected]> Co-authored-by: Johannes Feichtner <[email protected]> Co-authored-by: Michael Kriese <[email protected]>
Changes
Adds the repository urls for maven in the correct order parsed from
Maven settings files were restricted to ones with schema 1.0.0
Added a check that the settings file is of a supported namespace version as listed here.
Added a test fixture for the settings file following maven example here
Context
Maven central was the first repository in the list of repositories. This was causing dependencies to download from maven central before looking up the repositories specified in the settings.xml or pom.xml.
Settings files that were of a namespace version 1.1.0 or 1.2.0 were skipped over for parsing.
Documentation (please check one with an [x])
How I've tested my work (please select one)
I have verified these changes via: