-
Notifications
You must be signed in to change notification settings - Fork 4
Add OkHttp BOM to root POM for centralized dependency management #305
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
Merged
thomasturrell
merged 5 commits into
main
from
copilot/update-okhttp-dependency-management
Nov 12, 2025
Merged
Add OkHttp BOM to root POM for centralized dependency management #305
thomasturrell
merged 5 commits into
main
from
copilot/update-okhttp-dependency-management
Nov 12, 2025
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Co-authored-by: thomasturrell <1552612+thomasturrell@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Update xapi-client pom.xml to include OkHttp BOM
Add OkHttp BOM to manage dependency versions
Nov 12, 2025
thomasturrell
approved these changes
Nov 12, 2025
|
Contributor
|
@copilot remove okhttp-bom from xapi-client/pom.xml the change should be in the root POM |
Co-authored-by: thomasturrell <1552612+thomasturrell@users.noreply.github.com>
Contributor
Author
thomasturrell
approved these changes
Nov 12, 2025
Copilot
AI
changed the title
Add OkHttp BOM to manage dependency versions
Add OkHttp BOM to root POM for centralized dependency management
Nov 12, 2025
|
thomasturrell
approved these changes
Nov 12, 2025
This was referenced Nov 13, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.



Description
Spring Boot 3.5.7+ no longer provides managed versions for OkHttp dependencies, causing Maven build failures when
xapi-clientdeclaresokhttpandmockwebserverwithout explicit versions.This PR adds the official OkHttp BOM (Bill of Materials) to the root
pom.xmlto centrally manage all OkHttp dependency versions across the project.Resolves the issue where Maven fails with "'dependencies.dependency.version' ... is missing." after Spring Boot parent upgrade.
Changes
okhttp.versionproperty set to5.3.0(latest stable) in rootpom.xmlpom.xml<dependencyManagement>section to centrally manage all OkHttp dependency versionsokhttpandmockwebserverdeclarations inxapi-client/pom.xmlnow inherit versions from the parent BOMFiles Changed:
pom.xml(root) - Added OkHttp BOM and version propertyChecklist:
Testing
okhttp:5.3.0andmockwebserver:5.3.0correctly resolved from parent BOMmvn -B -DskipTests verifycompletes successfullyOriginal prompt
This pull request was created as a result of the following prompt from Copilot chat.
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.