can't import artifact with classifier when doing multi-project build
Say I have a root project definition in project/build.scala:
import sbt._
import Keys._
object Test extends Build {
lazy val foo = project in file("foo")
lazy val bar = project in file("bar")
val base = "org.apache.james" % "apache-mailet-base" % "2.5.0"
val baseTest = "org.apache.james" % "apache-mailet-base" % "2.5.0" % "test" classifier "tests" classifier ""
}
and foo project in foo/build.sbt
libraryDependencies ++= Seq(Test.base, Test.baseTest)
and bar project in bar/build.sbt
libraryDependencies ++= Seq(Test.base)
Import this with IDEA13 and scala plugin 0.41.2 leads to single library entry without artifact with test classifier in project structure.
On the other hand, if I include only foo project in root, import leads to single library entry with artifact with test classifier but in scope compile.
What I expected would be two library entrys and one with artifact with test classifier in scope test.
请先登录再写评论。
Hi! We're going to check that soon. Thanks for the report!