I have a multi-module sbt project with integration tests for each module. Module a depends on module b for compile, test, and integration test scope. So I have it setup like this in a Build.scala:
lazy val authorizationdeciderservice = Project(
id = "a",
base = file("modules/a"),
configurations = Seq(IntegrationTest),
dependencies = Seq(b % "compile;it->test;it")
)
Now the compile and it->test dependency work fine, but the it dependecy does not, in that I am unable to access resources on the it path in b from integration tests in a.
What might the issue be?
b % "compile;it->test;it"is the same asb % "compile->compile;it->test;it->compile". To access resources on the it path in b from integration tests in a, there should be"it->it".