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

chore: add check to verify presence of pom url before reading from it #6564

Merged
merged 8 commits into from
May 30, 2024

Conversation

mpeddada1
Copy link
Contributor

@mpeddada1 mpeddada1 commented Apr 30, 2024

For #6560

In order to avoid throwing an exception when an invalid url is passed for parsing the shared-dependencies value, this PR adds a check to first verify if the url exists. If it exists then it proceeds to searching for the shared-dependencies version otherwise it returns Optional.empty() to continue searching in other poms.

@product-auto-label product-auto-label bot added the size: s Pull request size is small. label Apr 30, 2024
@mpeddada1 mpeddada1 marked this pull request as ready for review April 30, 2024 17:55
@mpeddada1 mpeddada1 requested a review from a team as a code owner April 30, 2024 17:55
@product-auto-label product-auto-label bot added size: m Pull request size is medium. and removed size: s Pull request size is small. labels May 24, 2024
@product-auto-label product-auto-label bot added size: l Pull request size is large. and removed size: m Pull request size is medium. labels May 24, 2024
@mpeddada1 mpeddada1 requested a review from suztomo May 24, 2024 04:17
Copy link

generated-files-bot bot commented May 24, 2024

Warning: This pull request is touching the following templated files:

  • .github/workflows/approve-readme.yaml

@mpeddada1 mpeddada1 merged commit 59c776b into main May 30, 2024
26 checks passed
@mpeddada1 mpeddada1 deleted the check-url-presence branch May 30, 2024 22:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size: l Pull request size is large.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

FileNotFoundException when searching for poms for {artifactName}-deps-bom and {artifactName}-parent
2 participants