Description / Background
Dependabot has failed to upgrade the AWS SDK because of a dependency convergence problem:
Technical Notes / Implementation Details
We can resolve this by managing the versions of all the HTTP client dependencies. Here's the failure:
Error: Failed to execute goal org.apache.maven.plugins:maven-enforcer-plugin:3.6.3:enforce (enforcer-checks) on project localstack-test:
Error: Rule 1: org.apache.maven.enforcer.rules.dependency.DependencyConvergence failed with message:
Error: Failed while enforcing releasability.
Error:
Error: Dependency convergence error for org.apache.httpcomponents.core5:httpcore5:jar:5.4. Paths to dependency are:
Error: +-sleeper:localstack-test:jar:0.35.4-SNAPSHOT
Error: +-org.wiremock:wiremock:jar:3.13.2:compile
Error: +-org.apache.httpcomponents.client5:httpclient5:jar:5.6.1:compile
Error: +-org.apache.httpcomponents.core5:httpcore5:jar:5.4:compile
Error: and
Error: +-sleeper:localstack-test:jar:0.35.4-SNAPSHOT
Error: +-org.wiremock:wiremock:jar:3.13.2:compile
Error: +-org.apache.httpcomponents.client5:httpclient5:jar:5.6.1:compile
Error: +-org.apache.httpcomponents.core5:httpcore5-h2:jar:5.4:compile
Error: +-org.apache.httpcomponents.core5:httpcore5:jar:5.4:compile
Error: and
Error: +-sleeper:localstack-test:jar:0.35.4-SNAPSHOT
Error: +-software.amazon.awssdk:s3:jar:2.46.7:compile
Error: +-software.amazon.awssdk:apache5-client:jar:2.46.7:runtime
Error: +-org.apache.httpcomponents.core5:httpcore5:jar:5.4.2:runtime
Description / Background
Dependabot has failed to upgrade the AWS SDK because of a dependency convergence problem:
Technical Notes / Implementation Details
We can resolve this by managing the versions of all the HTTP client dependencies. Here's the failure: