sbt-eclipse icon indicating copy to clipboard operation
sbt-eclipse copied to clipboard

classifier ignored

Open mighdoll opened this issue 11 years ago • 1 comments

I added a dependency with a classifier, and it seems to confuse sbteclipse. Example:

 "com.github.fommil.netlib" % "netlib-native_system-linux-x86_64" % "1.1" classifier "natives"

while sbt correctly downloads the correct jar with the -natives appended

[info] downloading https://repo1.maven.org/maven2/com/github/fommil/netlib/netlib-native_system-osx-x86_64/1.1/netlib-native_system-osx-x86_64-1.1-natives.jar

sbteclipse fails, trying to download without the -natives suffix. This fails, and takes a long time to timeout (especially because it tries again for every dependent project).

[warn]  [NOT FOUND  ] com.github.fommil.netlib#netlib-native_system-linux-x86_64;1.1!netlib-native_system-linux-x86_64.jar (123ms)

Is there a way to work around this?

mighdoll avatar Sep 19 '14 00:09 mighdoll

I'll have to look into it. My guess is that it's an issue with updateClassifiers + trying to grab the sources.

jsuereth avatar Sep 23 '14 18:09 jsuereth