Align retrofit2 versions to ensure dependency convergence#513
Open
mnk wants to merge 1 commit intosegmentio:masterfrom
Open
Align retrofit2 versions to ensure dependency convergence#513mnk wants to merge 1 commit intosegmentio:masterfrom
mnk wants to merge 1 commit intosegmentio:masterfrom
Conversation
When depending on com.segment.analytics.java:analytics and using Maven DependencyConvergence enforcer, build will fail with: [ERROR] Failed to execute goal org.apache.maven.plugins:maven-enforcer-plugin:3.5.0:enforce (dependencies) on project commons-segment: [ERROR] Rule 16: org.apache.maven.enforcer.rules.dependency.DependencyConvergence failed with message: [ERROR] Failed while enforcing releasability. [ERROR] [ERROR] Dependency convergence error for com.squareup.retrofit2:retrofit:jar:2.11.0 paths to dependency are: [ERROR] +-com.segment.analytics.java:analytics:jar:3.5.2:compile [ERROR] +-com.segment.analytics.java:analytics-core:jar:3.5.2:compile [ERROR] +-com.squareup.retrofit2:retrofit:jar:2.11.0:compile [ERROR] and [ERROR] +-com.segment.analytics.java:analytics:jar:3.5.2:compile [ERROR] +-com.squareup.retrofit2:converter-gson:jar:2.9.0:compile [ERROR] +-com.squareup.retrofit2:retrofit:jar:2.9.0:compile [ERROR] and [ERROR] +-com.segment.analytics.java:analytics:jar:3.5.2:compile [ERROR] +-com.squareup.retrofit2:retrofit-mock:jar:2.11.0:compile [ERROR] +-com.squareup.retrofit2:retrofit:jar:2.11.0:compile
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
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.
When depending on com.segment.analytics.java:analytics and using Maven DependencyConvergence enforcer,
build will fail with: