Why does adding the following result in compile scope dependencies?
<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
I'd expect copy-dependencies with an exclusion on test scope to not only skip the top level but remove it and its transitives from the tree.