Skip to content

Dependency Version Convergence Error #18

@brcolow

Description

@brcolow

When including codeguru-profiler-java-agent a dependency convergence error occurs (as caught by the dependencyConvergence rule of maven enforcer, for example):

+-MY_PROJECT
  +-software.amazon.codeguruprofiler:codeguru-profiler-java-agent:1.1.2
    +-software.amazon.awssdk:codeguruprofiler:2.15.4
      +-software.amazon.awssdk:netty-nio-client:2.15.4
        +-io.netty:netty-codec-http2:4.1.46.Final
          +-io.netty:netty-handler:4.1.46.Final
and
+-MY_PROJECT
  +-software.amazon.codeguruprofiler:codeguru-profiler-java-agent:1.1.2
    +-software.amazon.awssdk:codeguruprofiler:2.15.4
      +-software.amazon.awssdk:netty-nio-client:2.15.4
        +-io.netty:netty-handler:4.1.46.Final
and
+-MY_PROJECT
  +-software.amazon.codeguruprofiler:codeguru-profiler-java-agent:1.1.2
    +-software.amazon.awssdk:codeguruprofiler:2.15.4
      +-software.amazon.awssdk:netty-nio-client:2.15.4
        +-com.typesafe.netty:netty-reactive-streams-http:2.0.4
          +-com.typesafe.netty:netty-reactive-streams:2.0.4
            +-io.netty:netty-handler:4.1.43.Final

As you can see both 4.1.46.Final and 4.1.43.Final are both resolved by dependencies purely of codeguru-profiler-java-agent. It is possible to fix this by updating netty-reactive-streams-http to a later version that include 4.1.46.Final or by manually excluding dependencies.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions