sbt/sbt-eclipse

no source file attachments created for some libraries when coursier is used

kiritsuku opened this issue · 3 comments

I have the following setup:

// project/plugins.sbt
addSbtPlugin("com.typesafe.sbteclipse" % "sbteclipse-plugin" % "5.1.0")
addSbtPlugin("io.get-coursier" % "sbt-coursier" % "1.0.0-RC2")
// build.sbt
lazy val xxx = project in file("xxx") settings Seq(
  scalaVersion := "2.12.2",
  EclipseKeys.withSource := true,
  libraryDependencies += "com.typesafe.akka" %%  "akka-stream" % "2.5.1",
  libraryDependencies += "com.typesafe.akka" %%  "akka-http" % "10.0.5"
)

When I run sbt eclipse no source file attachment is created for akka-http but for akka-stream it is. coursier downloaded the sources successfully. When the coursier plugin is disabled, the sources are also created for akka-http. I don't know if this is a bug in coursier or in sbteclipse.

This is very unlikely to be a bug in sbteclipse. Can you file a bug over at coursier and post a link here so that I can follow it?

Ok, new ticket has been linked.

Thanks!