Skip to content

Conversation

@ScrapCodes
Copy link
Contributor

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.

@jsuereth
Copy link
Member

jsuereth commented May 9, 2014

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.

@ScrapCodes
Copy link
Contributor Author

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.

@ScrapCodes
Copy link
Contributor Author

Closing this in favor of #14.

@ScrapCodes ScrapCodes closed this May 19, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants