Skip to content

Spring version mismatch (azure-spring-data-cosmos:5.19.0) #46630

@wvtbg

Description

@wvtbg

Describe the bug
Dependencies of the various libraries have different versions. See one of the incompetent versions. The full list is included in the comments.

Exception or Stack Trace
[ERROR] Dependency convergence error for io.netty:netty-handler:jar:4.1.118.Final paths to dependency are:
[ERROR] +-com.azure:azure-spring-data-cosmos:jar:5.24.0-beta.1
[ERROR] +-com.azure:azure-cosmos:jar:4.73.1:compile
[ERROR] +-com.azure:azure-core-http-netty:jar:1.15.13:compile
[ERROR] +-io.netty:netty-handler:jar:4.1.118.Final:compile
[ERROR] and
[ERROR] +-com.azure:azure-spring-data-cosmos:jar:5.24.0-beta.1
[ERROR] +-com.azure:azure-cosmos:jar:4.73.1:compile
[ERROR] +-com.azure:azure-core-http-netty:jar:1.15.13:compile
[ERROR] +-io.netty:netty-codec-http:jar:4.1.118.Final:compile
[ERROR] +-io.netty:netty-handler:jar:4.1.118.Final:compile
[ERROR] and
[ERROR] +-com.azure:azure-spring-data-cosmos:jar:5.24.0-beta.1
[ERROR] +-com.azure:azure-cosmos:jar:4.73.1:compile
[ERROR] +-com.azure:azure-core-http-netty:jar:1.15.13:compile
[ERROR] +-io.netty:netty-codec-http2:jar:4.1.118.Final:compile
[ERROR] +-io.netty:netty-handler:jar:4.1.118.Final:compile
[ERROR] and
[ERROR] +-com.azure:azure-spring-data-cosmos:jar:5.24.0-beta.1
[ERROR] +-com.azure:azure-cosmos:jar:4.73.1:compile
[ERROR] +-com.azure:azure-core-http-netty:jar:1.15.13:compile
[ERROR] +-io.projectreactor.netty:reactor-netty-http:jar:1.0.48:compile
[ERROR] +-io.netty:netty-resolver-dns:jar:4.1.112.Final:compile
[ERROR] +-io.netty:netty-handler:jar:4.1.112.Final:compile
[ERROR] and
[ERROR] +-com.azure:azure-spring-data-cosmos:jar:5.24.0-beta.1
[ERROR] +-com.azure:azure-cosmos:jar:4.73.1:compile
[ERROR] +-com.azure:azure-core-http-netty:jar:1.15.13:compile
[ERROR] +-io.projectreactor.netty:reactor-netty-http:jar:1.0.48:compile
[ERROR] +-io.projectreactor.netty:reactor-netty-core:jar:1.0.48:compile
[ERROR] +-io.netty:netty-handler:jar:4.1.112.Final:compile

To Reproduce
Steps to reproduce the behavior:
Add dependencyConvergence options to the maven enforcer plugin
run mvn dependency:analyze

Code Snippet

org.apache.maven.plugins
maven-enforcer-plugin
3.5.0






Expected behavior
All versions of azure libraries use the same version to prevent version conflicts.
Maybe its possible to make a bom file to make sure all libraries use the same versions

Screenshots
N/A

Setup (please complete the following information):

  • OS: Windows
  • IDE: IntelliJ
  • Library/Libraries: azure-spring-data-cosmos:5.19.0
  • Java version: 21
  • App Server/Environment: Maven
  • Frameworks: Spring Boot

Information Checklist
Kindly make sure that you have added all the following information above and checkoff the required fields otherwise we will treat the issuer as an incomplete report

  • Bug Description Added
  • Repro Steps Added
  • Setup information Added

Metadata

Metadata

Labels

azure-springAll azure-spring related issuesbugThis issue requires a change to an existing behavior in the product in order to be resolved.customer-reportedIssues that are reported by GitHub users external to the Azure organization.needs-team-attentionWorkflow: This issue needs attention from Azure service team or SDK team

Type

No type

Projects

Status

Todo

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions