bsadeh/scalastic — pull request #39 by martinb3 (2014-03-12 14:00:09+00:00)
Title: Source downloads fail for grizzled-slf4j, junit, scalatest, logback

Hello!

The .pom files for scalastic 2.10-0.90.10 [1] appear to have 'classifier' sources, but I can't seem to get sbt to resolve them. I'm attaching a full reproducible example below:

Is 0.90.10 not compatible with scala 2.10.3 and sbt 0.13.1?

[1] http://repo1.maven.org/maven2/org/scalastic/scalastic_2.10/0.90.10/scalastic_2.10-0.90.10.pom

```
mart6985@mart6985-laptop:~/src/tmp/scalastic$ ls -la
total 20
drwxr-xr-x 4 mart6985 mart6985 4096 Mar 9 19:25 .
drwxr-xr-x 3 mart6985 mart6985 4096 Mar 9 19:25 ..
-rw-r--r-- 1 mart6985 mart6985 66 Mar 9 19:25 build.sbt
drwxr-xr-x 3 mart6985 mart6985 4096 Mar 9 19:25 project
drwxr-xr-x 4 mart6985 mart6985 4096 Mar 9 19:25 target
mart6985@mart6985-laptop:~/src/tmp/scalastic$ rm -rf project/ target/
mart6985@mart6985-laptop:~/src/tmp/scalastic$ ls -la
total 12
drwxr-xr-x 2 mart6985 mart6985 4096 Mar 9 19:25 .
drwxr-xr-x 3 mart6985 mart6985 4096 Mar 9 19:25 ..
-rw-r--r-- 1 mart6985 mart6985 66 Mar 9 19:25 build.sbt
mart6985@mart6985-laptop:~/src/tmp/scalastic$ cat build.sbt
libraryDependencies += "org.scalastic" %% "scalastic" % "0.90.10"
mart6985@mart6985-laptop:~/src/tmp/scalastic$ sbt compile
[info] Set current project to scalastic (in build file:/home/mart6985/src/tmp/scalastic/)
[info] Updating {file:/home/mart6985/src/tmp/scalastic/}scalastic...
[info] Resolving org.fusesource.jansi#jansi;1.4 ...
[warn]	[FAILED ] org.elasticsearch#elasticsearch;0.90.10!elasticsearch.src: (0ms)
[warn] ==== local: tried
[warn] /home/mart6985/.ivy2/local/org.elasticsearch/elasticsearch/0.90.10/srcs/elasticsearch-sources.src
[warn] ==== public: tried
[warn] http://repo1.maven.org/maven2/org/elasticsearch/elasticsearch/0.90.10/elasticsearch-0.90.10-sources.src
[warn]	[FAILED ] org.clapper#grizzled-slf4j_2.10;1.0.1!grizzled-slf4j_2.10.src: (0ms)
[warn] ==== local: tried
[warn] /home/mart6985/.ivy2/local/org.clapper/grizzled-slf4j_2.10/1.0.1/srcs/grizzled-slf4j_2.10-sources.src
[warn] ==== public: tried
[warn] http://repo1.maven.org/maven2/org/clapper/grizzled-slf4j_2.10/1.0.1/grizzled-slf4j_2.10-1.0.1-sources.src
[warn]	[FAILED ] junit#junit;4.10!junit.src: (0ms)
[warn] ==== local: tried
[warn] /home/mart6985/.ivy2/local/junit/junit/4.10/srcs/junit-sources.src
[warn] ==== public: tried
[warn] http://repo1.maven.org/maven2/junit/junit/4.10/junit-4.10-sources.src
[warn]	[FAILED ] org.scalatest#scalatest_2.10;2.0!scalatest_2.10.src: (0ms)
[warn] ==== local: tried
[warn] /home/mart6985/.ivy2/local/org.scalatest/scalatest_2.10/2.0/srcs/scalatest_2.10-sources.src
[warn] ==== public: tried
[warn] http://repo1.maven.org/maven2/org/scalatest/scalatest_2.10/2.0/scalatest_2.10-2.0-sources.src
[warn]	[NOT FOUND ] ch.qos.logback#logback-classic;1.0.2!logback-classic.src (109ms)
[warn] ==== public: tried
[warn] http://repo1.maven.org/maven2/ch/qos/logback/logback-classic/1.0.2/logback-classic-1.0.2-sources.src
[warn]	::::::::::::::::::::::::::::::::::::::::::::::
[warn]	:: FAILED DOWNLOADS ::
[warn]	:: ^ see resolution messages for details ^ ::
[warn]	::::::::::::::::::::::::::::::::::::::::::::::
[warn]	:: org.elasticsearch#elasticsearch;0.90.10!elasticsearch.src
[warn]	:: org.clapper#grizzled-slf4j_2.10;1.0.1!grizzled-slf4j_2.10.src
[warn]	:: junit#junit;4.10!junit.src
[warn]	:: org.scalatest#scalatest_2.10;2.0!scalatest_2.10.src
[warn]	:: ch.qos.logback#logback-classic;1.0.2!logback-classic.src
[warn]	::::::::::::::::::::::::::::::::::::::::::::::
sbt.ResolveException: download failed: org.elasticsearch#elasticsearch;0.90.10!elasticsearch.src
download failed: org.clapper#grizzled-slf4j_2.10;1.0.1!grizzled-slf4j_2.10.src
download failed: junit#junit;4.10!junit.src
download failed: org.scalatest#scalatest_2.10;2.0!scalatest_2.10.src
download failed: ch.qos.logback#logback-classic;1.0.2!logback-classic.src
at sbt.IvyActions$.sbt$IvyActions$$resolve(IvyActions.scala:213)
at sbt.IvyActions$$anonfun$update$1.apply(IvyActions.scala:122)
at sbt.IvyActions$$anonfun$update$1.apply(IvyActions.scala:121)
at sbt.IvySbt$Module$$anonfun$withModule$1.apply(Ivy.scala:116)
at sbt.IvySbt$Module$$anonfun$withModule$1.apply(Ivy.scala:116)
at sbt.IvySbt$$anonfun$withIvy$1.apply(Ivy.scala:104)
at sbt.IvySbt.sbt$IvySbt$$action$1(Ivy.scala:51)
at sbt.IvySbt$$anon$3.call(Ivy.scala:60)
at xsbt.boot.Locks$GlobalLock.withChannel$1(Locks.scala:98)
at xsbt.boot.Locks$GlobalLock.xsbt$boot$Locks$GlobalLock$$withChannelRetries$1(Locks.scala:81)
at xsbt.boot.Locks$GlobalLock$$anonfun$withFileLock$1.apply(Locks.scala:102)
at xsbt.boot.Using$.withResource(Using.scala:11)
at xsbt.boot.Using$.apply(Using.scala:10)
at xsbt.boot.Locks$GlobalLock.ignoringDeadlockAvoided(Locks.scala:62)
at xsbt.boot.Locks$GlobalLock.withLock(Locks.scala:52)
at xsbt.boot.Locks$.apply0(Locks.scala:31)
at xsbt.boot.Locks$.apply(Locks.scala:28)
at sbt.IvySbt.withDefaultLogger(Ivy.scala:60)
at sbt.IvySbt.withIvy(Ivy.scala:101)
at sbt.IvySbt.withIvy(Ivy.scala:97)
at sbt.IvySbt$Module.withModule(Ivy.scala:116)
at sbt.IvyActions$.update(IvyActions.scala:121)
at sbt.Classpaths$$anonfun$sbt$Classpaths$$work$1$1.apply(Defaults.scala:1161)
at sbt.Classpaths$$anonfun$sbt$Classpaths$$work$1$1.apply(Defaults.scala:1159)
at sbt.Classpaths$$anonfun$doWork$1$1$$anonfun$73.apply(Defaults.scala:1182)
at sbt.Classpaths$$anonfun$doWork$1$1$$anonfun$73.apply(Defaults.scala:1180)
at sbt.Tracked$$anonfun$lastOutput$1.apply(Tracked.scala:35)
at sbt.Classpaths$$anonfun$doWork$1$1.apply(Defaults.scala:1184)
at sbt.Classpaths$$anonfun$doWork$1$1.apply(Defaults.scala:1179)
at sbt.Tracked$$anonfun$inputChanged$1.apply(Tracked.scala:45)
at sbt.Classpaths$.cachedUpdate(Defaults.scala:1187)
at sbt.Classpaths$$anonfun$updateTask$1.apply(Defaults.scala:1152)
at sbt.Classpaths$$anonfun$updateTask$1.apply(Defaults.scala:1130)
at scala.Function1$$anonfun$compose$1.apply(Function1.scala:47)
at sbt.$tilde$greater$$anonfun$$u2219$1.apply(TypeFunctions.scala:42)
at sbt.std.Transform$$anon$4.work(System.scala:64)
at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:237)
at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:237)
at sbt.ErrorHandling$.wideConvert(ErrorHandling.scala:18)
at sbt.Execute.work(Execute.scala:244)
at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:237)
at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:237)
at sbt.ConcurrentRestrictions$$anon$4$$anonfun$1.apply(ConcurrentRestrictions.scala:160)
at sbt.CompletionService$$anon$2.call(CompletionService.scala:30)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:744)
[error] (*:update) sbt.ResolveException: download failed: org.elasticsearch#elasticsearch;0.90.10!elasticsearch.src
[error] download failed: org.clapper#grizzled-slf4j_2.10;1.0.1!grizzled-slf4j_2.10.src
[error] download failed: junit#junit;4.10!junit.src
[error] download failed: org.scalatest#scalatest_2.10;2.0!scalatest_2.10.src
[error] download failed: ch.qos.logback#logback-classic;1.0.2!logback-classic.src
[error] Total time: 5 s, completed Mar 9, 2014 7:25:51 PM
```