Maven test jar

So I am trying to make `someproject.dependsOn(streaming % "compile->compile;test->test")` work somehow. 

In maven this happens by specifying that we want to publish test jar for a particular artifact and then later require `<type>` as `test-jar` where it is actually needed. In SBT this is opposite, in the sense the project itself is not marked to publish test-jars but someproject may dependsOn its test jar. So this information is only required at only one place i.e where it is actually required.