Closed ScrapCodes closed 10 years ago
Oh, and I think you know the Ivy mechanisms for this. What we need to do is get Ivy aware of the "testjar" artifact classifier. If there's not already an ivy issue open, please do so. We have a branch of Ivy we can try to add that support in.
Hey Josh,
That was a lot of helpful comments, but I have failed to grasp it all or somehow get this to work. I have tried working with "test->test" or classifier as configuration. But somehow it does not work. This patch is updated to have those changes. Take a look ! Meanwhile I will struggle more with this.
Closing this in favor of #14.
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>
astest-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.