为什么添加以下内容会导致编译范围依赖关系?
<dependency>
<groupId>myproject.core</groupId>
<artifactId>api</artifactId>
<classifier>tests</classifier>
<scope>test</scope>
</dependency>
[INFO] +- myproject.core:api:jar:tests:5.0.5-SNAPSHOT:test
[INFO] | +- org.apache.curator:curator-framework:jar:2.7.1:compile
[INFO] | | \- org.apache.curator:curator-client:jar:2.7.1:compile
[INFO] | +- org.apache.curator:curator-x-discovery:jar:2.7.1:compile
[INFO] | | +- org.apache.curator:curator-recipes:jar:2.7.1:compile我希望在测试范围上排除复制依赖项不仅会跳过顶层,而且会从树中移除它及其过渡项。
https://stackoverflow.com/questions/32707912
复制相似问题