Browsermob Proxy Maven 依赖收敛错误
Browsermob Proxy Maven dependency convergence errors
我是 Maven 的新手,我遇到了一些对我来说没有意义的依赖项收敛错误。我得到的错误是
[ERROR]
Dependency convergence error for io.netty:netty-all:4.0.23.Final paths to dependency are:
+-example:framework:1.0.0-SNAPSHOT
+-net.lightbody.bmp:browsermob-core-littleproxy:2.1.0-beta-1
+-net.lightbody.bmp:littleproxy:1.1.0-beta-bmp-5
+-io.netty:netty-all:4.0.23.Final
and
+-example:framework:1.0.0-SNAPSHOT
+-net.lightbody.bmp:browsermob-core-littleproxy:2.1.0-beta-1
+-io.netty:netty-all:4.0.27.Final
[ERROR]
Dependency convergence error for com.google.guava:guava:18.0 paths to dependency are:
+-example:framework:1.0.0-SNAPSHOT
+-net.lightbody.bmp:browsermob-core-littleproxy:2.1.0-beta-1
+-net.lightbody.bmp:browsermob-core:2.1.0-beta-1
+-com.google.guava:guava:18.0
and
+-example:framework:1.0.0-SNAPSHOT
+-net.lightbody.bmp:browsermob-core-littleproxy:2.1.0-beta-1
+-net.lightbody.bmp:littleproxy:1.1.0-beta-bmp-5
+-com.google.guava:guava:14.0.1
[ERROR]
Dependency convergence error for com.fasterxml.jackson.core:jackson-annotations:2.4.0 paths to dependency are:
+-example:framework:1.0.0-SNAPSHOT
+-net.lightbody.bmp:browsermob-core-littleproxy:2.1.0-beta-1
+-net.lightbody.bmp:browsermob-core:2.1.0-beta-1
+-com.fasterxml.jackson.core:jackson-databind:2.4.4
+-com.fasterxml.jackson.core:jackson-annotations:2.4.0
and
+-example:framework:1.0.0-SNAPSHOT
+-net.lightbody.bmp:browsermob-core-littleproxy:2.1.0-beta-1
+-net.lightbody.bmp:browsermob-core:2.1.0-beta-1
+-com.fasterxml.jackson.core:jackson-annotations:2.4.4
它们让我感到困惑,因为在我看来它们都来自相同的依赖项,这是否意味着 net.lightbody.bmp:browsermob-core-littleproxy:2.1.0-beta-1 已损坏?
<dependency>
<groupId>net.lightbody.bmp</groupId>
<artifactId>browsermob-core-littleproxy</artifactId>
<version>2.1.0-beta-1</version>
<scope>test</scope>
</dependency>
仍然为同一个包内的冲突所困扰,但我设法通过从 bmp 依赖项中排除冲突的依赖项来修复它,然后在我的项目中显式添加更新版本#作为依赖项。
我是 Maven 的新手,我遇到了一些对我来说没有意义的依赖项收敛错误。我得到的错误是
[ERROR]
Dependency convergence error for io.netty:netty-all:4.0.23.Final paths to dependency are:
+-example:framework:1.0.0-SNAPSHOT
+-net.lightbody.bmp:browsermob-core-littleproxy:2.1.0-beta-1
+-net.lightbody.bmp:littleproxy:1.1.0-beta-bmp-5
+-io.netty:netty-all:4.0.23.Final
and
+-example:framework:1.0.0-SNAPSHOT
+-net.lightbody.bmp:browsermob-core-littleproxy:2.1.0-beta-1
+-io.netty:netty-all:4.0.27.Final
[ERROR]
Dependency convergence error for com.google.guava:guava:18.0 paths to dependency are:
+-example:framework:1.0.0-SNAPSHOT
+-net.lightbody.bmp:browsermob-core-littleproxy:2.1.0-beta-1
+-net.lightbody.bmp:browsermob-core:2.1.0-beta-1
+-com.google.guava:guava:18.0
and
+-example:framework:1.0.0-SNAPSHOT
+-net.lightbody.bmp:browsermob-core-littleproxy:2.1.0-beta-1
+-net.lightbody.bmp:littleproxy:1.1.0-beta-bmp-5
+-com.google.guava:guava:14.0.1
[ERROR]
Dependency convergence error for com.fasterxml.jackson.core:jackson-annotations:2.4.0 paths to dependency are:
+-example:framework:1.0.0-SNAPSHOT
+-net.lightbody.bmp:browsermob-core-littleproxy:2.1.0-beta-1
+-net.lightbody.bmp:browsermob-core:2.1.0-beta-1
+-com.fasterxml.jackson.core:jackson-databind:2.4.4
+-com.fasterxml.jackson.core:jackson-annotations:2.4.0
and
+-example:framework:1.0.0-SNAPSHOT
+-net.lightbody.bmp:browsermob-core-littleproxy:2.1.0-beta-1
+-net.lightbody.bmp:browsermob-core:2.1.0-beta-1
+-com.fasterxml.jackson.core:jackson-annotations:2.4.4
它们让我感到困惑,因为在我看来它们都来自相同的依赖项,这是否意味着 net.lightbody.bmp:browsermob-core-littleproxy:2.1.0-beta-1 已损坏?
<dependency>
<groupId>net.lightbody.bmp</groupId>
<artifactId>browsermob-core-littleproxy</artifactId>
<version>2.1.0-beta-1</version>
<scope>test</scope>
</dependency>
仍然为同一个包内的冲突所困扰,但我设法通过从 bmp 依赖项中排除冲突的依赖项来修复它,然后在我的项目中显式添加更新版本#作为依赖项。