传递 test/provided 依赖包含在我的项目中

Transitive test/provided dependency is included in my project

有人可以解释一下这里发生了什么吗?我的项目 compile 依赖于 vorbis-java-tika(通过 tika-parsers),这反过来test,provided 依赖于 vorbis-java-core:tests

[INFO] +- org.apache.tika:tika-parsers:jar:1.4:compile
[INFO] |  +- org.gagravarr:vorbis-java-tika:jar:0.1:compile
[INFO] |  |  \- org.gagravarr:vorbis-java-core:jar:tests:0.1:test,provided

我认为 compile 范围依赖的传递 testprovided 依赖不应该包括在内(在列表中这是我对 this table 的理解)


如果有帮助这里是相关的dependency:list输出

$ mvn dependency:list | grep vorbis
[INFO]    org.gagravarr:vorbis-java-core:jar:0.1:compile
[INFO]    org.gagravarr:vorbis-java-core:jar:tests:0.1:test,provided
[INFO]    org.gagravarr:vorbis-java-tika:jar:0.1:compile

FTR 问题是由 Apache Tika 在它的 pom

中具有无效范围 test,provided 引起的