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

Transitive dependency conflicts (retrofit & okhttp) #644

Open
yvgopal opened this issue Nov 12, 2019 · 0 comments
Open

Transitive dependency conflicts (retrofit & okhttp) #644

yvgopal opened this issue Nov 12, 2019 · 0 comments

Comments

@yvgopal
Copy link
Member

yvgopal commented Nov 12, 2019

Here is actual issue logged Azure/azure-service-bus-java#390
Copy pasting the complete description here. Basically azure-client-authentication library imports many transitive dependencies and some of them have conflicting versions.

azure-servicebus (3.1.2) depends on different versions of retrofit (2.5.0, 2.4.0) and okhttp (3.12.0, 3.12.2)
See this report provided by the maven-dependency-plugin (analyze-only goal):
Dependency convergence error for com.squareup.retrofit2:retrofit:2.5.0 paths to dependency are:
+-com.microsoft.azure:azure-servicebus:3.1.2
+-com.microsoft.azure:azure-client-authentication:1.6.7
+-com.microsoft.azure:azure-client-runtime:1.6.13
+-com.microsoft.rest:client-runtime:1.6.13
+-com.squareup.retrofit2:retrofit:2.5.0
and
+-com.microsoft.azure:azure-servicebus:3.1.2
+-com.microsoft.azure:azure-client-authentication:1.6.7
+-com.microsoft.azure:azure-client-runtime:1.6.13
+-com.microsoft.rest:client-runtime:1.6.13
+-com.squareup.retrofit2:converter-jackson:2.5.0
+-com.squareup.retrofit2:retrofit:2.5.0
and
+-com.microsoft.azure:azure-servicebus:3.1.2
+-com.microsoft.azure:azure-client-authentication:1.6.7
+-com.microsoft.azure:azure-client-runtime:1.6.13
+-com.microsoft.rest:client-runtime:1.6.13
+-com.squareup.retrofit2:adapter-rxjava:2.4.0
+-com.squareup.retrofit2:retrofit:2.4.0
Dependency convergence error for com.squareup.okhttp3:okhttp:3.12.0 paths to dependency are:
+-com.microsoft.azure:azure-servicebus:3.1.2
+-com.microsoft.azure:azure-client-authentication:1.6.7
+-com.microsoft.azure:azure-client-runtime:1.6.13
+-com.microsoft.rest:client-runtime:1.6.13
+-com.squareup.retrofit2:retrofit:2.5.0
+-com.squareup.okhttp3:okhttp:3.12.0
and
+-com.microsoft.azure:azure-servicebus:3.1.2
+-com.microsoft.azure:azure-client-authentication:1.6.7
+-com.microsoft.azure:azure-client-runtime:1.6.13
+-com.microsoft.rest:client-runtime:1.6.13
+-com.squareup.okhttp3:okhttp:3.12.2
and
+-com.microsoft.azure:azure-servicebus:3.1.2
+-com.microsoft.azure:azure-client-authentication:1.6.7
+-com.microsoft.azure:azure-client-runtime:1.6.13
+-com.microsoft.rest:client-runtime:1.6.13
+-com.squareup.okhttp3:logging-interceptor:3.12.2
+-com.squareup.okhttp3:okhttp:3.12.2
and
+-com.microsoft.azure:azure-servicebus:3.1.2
+-com.microsoft.azure:azure-client-authentication:1.6.7
+-com.microsoft.azure:azure-client-runtime:1.6.13
+-com.microsoft.rest:client-runtime:1.6.13
+-com.squareup.okhttp3:okhttp-urlconnection:3.12.2
+-com.squareup.okhttp3:okhttp:3.12.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant