Skip to content

Dependency convergence issue since 2.20.8 #3787

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

Closed
Venorcis opened this issue Feb 22, 2023 · 2 comments · Fixed by #3799
Closed

Dependency convergence issue since 2.20.8 #3787

Venorcis opened this issue Feb 22, 2023 · 2 comments · Fixed by #3799
Labels
bug This issue is a bug.

Comments

@Venorcis
Copy link

Describe the bug

We use the maven-enforcer-plugin with <dependencyConvergence /> in our project. Since version 2.20.8 (so including 2.20.9) there are issues with the software.amazon.awssdk:bom.

Expected Behavior

maven-enforcer-plugin to succeed (like it does on 2.20.7 and earlier).

Current Behavior

maven-enforcer-plugin reports the following error:

Dependency convergence error for commons-codec:commons-codec:jar:1.11 paths to dependency are:
+-<myproject>:jar:1.2.0
  +-software.amazon.awssdk:s3:jar:2.20.8:compile
    +-software.amazon.awssdk:apache-client:jar:2.20.8:runtime
      +-org.apache.httpcomponents:httpclient:jar:4.5.14:runtime
        +-commons-codec:commons-codec:jar:1.11:runtime
and
+-<myproject>:jar:1.2.0
  +-software.amazon.awssdk:s3:jar:2.20.8:compile
    +-software.amazon.awssdk:apache-client:jar:2.20.8:runtime
      +-commons-codec:commons-codec:jar:1.15:runtime

Reproduction Steps

Add a dependency on software.amazon.awssdk:s3:jar:2.20.8 and do a mvn install including the maven-enforcer-plugin with <dependencyConvergence /> set.

Possible Solution

No response

Additional Information/Context

No response

AWS Java SDK version used

2.20.8

JDK version used

openjdk 17.0.6

Operating System and version

ubuntu 22.04.2

@Venorcis Venorcis added bug This issue is a bug. needs-triage This issue or PR still needs to be triaged. labels Feb 22, 2023
@debora-ito
Copy link
Member

Moving to the Java 2.x repository.

@debora-ito debora-ito transferred this issue from aws/aws-sdk-java Feb 22, 2023
@debora-ito debora-ito added needs-review This issue or PR needs review from the team. and removed needs-triage This issue or PR still needs to be triaged. labels Feb 24, 2023
@zoewangg zoewangg removed the needs-review This issue or PR needs review from the team. label Feb 28, 2023
@github-actions
Copy link

⚠️COMMENT VISIBILITY WARNING⚠️

Comments on closed issues are hard for our team to see.
If you need more assistance, please open a new issue that references this one.
If you wish to keep having a conversation with other community members under this issue feel free to do so.

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

Successfully merging a pull request may close this issue.

3 participants