aws-samples / aws-samples/aws-codeguru-profiler-demo-application
Dependency Version Convergence Error
- Dominant language
- Java
- Stars
- 25
- Forks
- 74
- PR merge metrics
- No merged PRs in 30d
Description
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.
Contributor guide
Assessment
This issue has not been assessed yet.