You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Enhancement]: Manage OkHttp versions in xapi-client via BOM to resolve build failures after Spring Boot parent upgrade #306
Adopt the OkHttp BOM in xapi-client/pom.xml to manage versions for com.squareup.okhttp3:okhttp and com.squareup.okhttp3:mockwebserver dependencies. This ensures their versions are consistently managed after upgrading the spring-boot-starter-parent to 3.5.7, which no longer provides transitive version management for these dependencies. The BOM import will restore build stability and improve future dependency maintenance.
Why
This enhancement solves repeated build failures triggered by missing explicit versions for okhttp and mockwebserver following the Spring Boot parent upgrade. By centralizing version management via the BOM, we reduce maintenance friction, avoid hardcoding versions, and ensure better long-term compatibility for dependencies that change versioning policies upstream.
Notes
Apply the following steps:
In xapi-client/pom.xml, add/merge the dependencyManagement block importing OkHttp BOM:
com.squareup.okhttp3
okhttp-bom
4.11.0
pom
import
Ensure that xapi-client dependencies for okhttp and mockwebserver remain (without ) so they resolve via BOM.
Activity