-
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
feat(java): add support for fetching packages from repos mentioned in pom.xml #6171
Conversation
Description This change allows packages to be fetched from repository other than https://repo.maven.apache.org/maven2/ Get username and password from settings file for the corresponding server ID mentioned in the pom file Added support for authentication if username and password mentioned while fetching the package
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.
@renypaul I refactor a bit.
Also i found that we added repos for each pom file(see my comment).
Can you take a look?
- Added comments where there credentials are fetched - Updated the order of the repo to reduce the number of tries to fetch - Avoid fetching pom file without version, since it will anyways fail in the tries
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.
LGTM, but @DmitriyLewen has more insights. I'd defer to him.
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 @DmitriyLewen @knqyf263 |
Description
This change allows packages to be fetched from repository other than https://repo.maven.apache.org/maven2/
Get username and password from settings file for the corresponding server ID mentioned in the pom file Added support for authentication if username and password mentioned while fetching the package
Related issues
Related PRs
Checklist