{"action":"closed","issue":{"url":"https://api.github.com/repos/alexarchambault/coursier/issues/104","labels_url":"https://api.github.com/repos/alexarchambault/coursier/issues/104/labels{/name}","comments_url":"https://api.github.com/repos/alexarchambault/coursier/issues/104/comments","events_url":"https://api.github.com/repos/alexarchambault/coursier/issues/104/events","html_url":"https://github.com/alexarchambault/coursier/issues/104","id":126390400,"number":104,"title":"Issues with dynamic revisions","user":{"login":"rockjam","id":1951244,"avatar_url":"https://avatars.githubusercontent.com/u/1951244?v=3","gravatar_id":"","url":"https://api.github.com/users/rockjam","html_url":"https://github.com/rockjam","followers_url":"https://api.github.com/users/rockjam/followers","following_url":"https://api.github.com/users/rockjam/following{/other_user}","gists_url":"https://api.github.com/users/rockjam/gists{/gist_id}","starred_url":"https://api.github.com/users/rockjam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rockjam/subscriptions","organizations_url":"https://api.github.com/users/rockjam/orgs","repos_url":"https://api.github.com/users/rockjam/repos","events_url":"https://api.github.com/users/rockjam/events{/privacy}","received_events_url":"https://api.github.com/users/rockjam/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/alexarchambault/coursier/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/alexarchambault/coursier/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/alexarchambault/coursier/milestones/4","html_url":"https://github.com/alexarchambault/coursier/milestones/1.0.0","labels_url":"https://api.github.com/repos/alexarchambault/coursier/milestones/4/labels","id":1434162,"number":4,"title":"1.0.0","description":"","creator":{"login":"alexarchambault","id":7063723,"avatar_url":"https://avatars.githubusercontent.com/u/7063723?v=3","gravatar_id":"","url":"https://api.github.com/users/alexarchambault","html_url":"https://github.com/alexarchambault","followers_url":"https://api.github.com/users/alexarchambault/followers","following_url":"https://api.github.com/users/alexarchambault/following{/other_user}","gists_url":"https://api.github.com/users/alexarchambault/gists{/gist_id}","starred_url":"https://api.github.com/users/alexarchambault/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexarchambault/subscriptions","organizations_url":"https://api.github.com/users/alexarchambault/orgs","repos_url":"https://api.github.com/users/alexarchambault/repos","events_url":"https://api.github.com/users/alexarchambault/events{/privacy}","received_events_url":"https://api.github.com/users/alexarchambault/received_events","type":"User","site_admin":false},"open_issues":7,"closed_issues":7,"state":"open","created_at":"2015-11-29T21:43:20Z","updated_at":"2016-01-27T10:14:47Z","due_on":null,"closed_at":null},"comments":5,"created_at":"2016-01-13T10:40:22Z","updated_at":"2016-01-27T10:14:47Z","closed_at":"2016-01-27T10:14:47Z","body":"Found some issues with resolution, when ivy dynamic revisions are present.\r\n\r\nUnabled to resolve dependency declared in following way:\r\n`\"com.googlecode.libphonenumber\" % \"libphonenumber\"                 % \"7.0.+\"`\r\n\r\nwith following stack trace:\r\n```\r\n1 error(s):\r\n  com.googlecode.libphonenumber:libphonenumber:7.0.+:\r\n    /Users/rockjam/.sbt/0.13/plugins/target/resolution-cache/com.googlecode.libphonenumber/libphonenumber/7.0.+/resolved.xml.xml: not found\r\n    Not found\r\n    /Users/rockjam/.ivy2/local/com.googlecode.libphonenumber/libphonenumber/7.0.+/ivys/ivy.xml: not found\r\n    Download error: Caught java.io.FileNotFoundException: https://repo.jfrog.org/artifactory/libs-release-bintray/com/googlecode/libphonenumber/libphonenumber/7.0.%2B/libphonenumber-7.0.%2B.pom?referrer (https://repo.jfrog.org/artifactory/libs-release-bintray/com/googlecode/libphonenumber/libphonenumber/7.0.%2B/libphonenumber-7.0.%2B.pom?referrer)\r\n    Download error: Caught java.io.FileNotFoundException: https://repo1.maven.org/maven2/com/googlecode/libphonenumber/libphonenumber/7.0.+/libphonenumber-7.0.+.pom (https://repo1.maven.org/maven2/com/googlecode/libphonenumber/libphonenumber/7.0.+/libphonenumber-7.0.+.pom)\r\n    Download error: Caught java.io.FileNotFoundException: https://repo1.maven.org/maven2/com/googlecode/libphonenumber/libphonenumber/7.0.+/libphonenumber-7.0.+.pom (https://repo1.maven.org/maven2/com/googlecode/libphonenumber/libphonenumber/7.0.+/libphonenumber-7.0.+.pom)\r\n    Download error: Caught java.io.FileNotFoundException: https://oss.sonatype.org/content/repositories/releases/com/googlecode/libphonenumber/libphonenumber/7.0.+/libphonenumber-7.0.+.pom (https://oss.sonatype.org/content/repositories/releases/com/googlecode/libphonenumber/libphonenumber/7.0.+/libphonenumber-7.0.+.pom)\r\n    Download error: Caught java.io.FileNotFoundException: https://dl.bintray.com/scalaz/releases/com/googlecode/libphonenumber/libphonenumber/7.0.+/libphonenumber-7.0.+.pom (https://dl.bintray.com/scalaz/releases/com/googlecode/libphonenumber/libphonenumber/7.0.+/libphonenumber-7.0.+.pom)\r\n    Download error: Caught java.io.FileNotFoundException: https://dl.bintray.com/dnvriend/maven/com/googlecode/libphonenumber/libphonenumber/7.0.+/libphonenumber-7.0.+.pom (https://dl.bintray.com/dnvriend/maven/com/googlecode/libphonenumber/libphonenumber/7.0.+/libphonenumber-7.0.+.pom)\r\n    Download error: Caught java.io.FileNotFoundException: https://dl.bintray.com/dwhjames/maven/com/googlecode/libphonenumber/libphonenumber/7.0.+/libphonenumber-7.0.+.pom (https://dl.bintray.com/dwhjames/maven/com/googlecode/libphonenumber/libphonenumber/7.0.+/libphonenumber-7.0.+.pom)\r\n    Download error: Caught java.io.FileNotFoundException: https://dl.bintray.com/krasserm/maven/com/googlecode/libphonenumber/libphonenumber/7.0.+/libphonenumber-7.0.+.pom (https://dl.bintray.com/krasserm/maven/com/googlecode/libphonenumber/libphonenumber/7.0.+/libphonenumber-7.0.+.pom)\r\n    Download error: Caught java.io.FileNotFoundException: https://raw.githubusercontent.com/slorber/gcm-server-repository/master/releases/com/googlecode/libphonenumber/libphonenumber/7.0.+/libphonenumber-7.0.+.pom (https://raw.githubusercontent.com/slorber/gcm-server-repository/master/releases/com/googlecode/libphonenumber/libphonenumber/7.0.+/libphonenumber-7.0.+.pom)\r\n    Download error: Caught java.io.FileNotFoundException: https://oss.sonatype.org/content/repositories/snapshots/com/googlecode/libphonenumber/libphonenumber/7.0.+/libphonenumber-7.0.+.pom (https://oss.sonatype.org/content/repositories/snapshots/com/googlecode/libphonenumber/libphonenumber/7.0.+/libphonenumber-7.0.+.pom)\r\n    Download error: Caught java.io.FileNotFoundException: https://repo1.maven.org/maven2/com/googlecode/libphonenumber/libphonenumber/7.0.+/libphonenumber-7.0.+.pom (https://repo1.maven.org/maven2/com/googlecode/libphonenumber/libphonenumber/7.0.+/libphonenumber-7.0.+.pom)\r\n    Download error: Caught java.io.FileNotFoundException: https://oss.sonatype.org/content/repositories/releases/com/googlecode/libphonenumber/libphonenumber/7.0.+/libphonenumber-7.0.+.pom (https://oss.sonatype.org/content/repositories/releases/com/googlecode/libphonenumber/libphonenumber/7.0.+/libphonenumber-7.0.+.pom)\r\n    Download error: Caught java.io.FileNotFoundException: https://dl.bintray.com/scalaz/releases/com/googlecode/libphonenumber/libphonenumber/7.0.+/libphonenumber-7.0.+.pom (https://dl.bintray.com/scalaz/releases/com/googlecode/libphonenumber/libphonenumber/7.0.+/libphonenumber-7.0.+.pom)\r\n    Download error: Caught java.io.FileNotFoundException: https://dl.bintray.com/dnvriend/maven/com/googlecode/libphonenumber/libphonenumber/7.0.+/libphonenumber-7.0.+.pom (https://dl.bintray.com/dnvriend/maven/com/googlecode/libphonenumber/libphonenumber/7.0.+/libphonenumber-7.0.+.pom)\r\n    Download error: Caught java.io.FileNotFoundException: https://dl.bintray.com/dwhjames/maven/com/googlecode/libphonenumber/libphonenumber/7.0.+/libphonenumber-7.0.+.pom (https://dl.bintray.com/dwhjames/maven/com/googlecode/libphonenumber/libphonenumber/7.0.+/libphonenumber-7.0.+.pom)\r\n    Download error: Caught java.io.FileNotFoundException: https://dl.bintray.com/krasserm/maven/com/googlecode/libphonenumber/libphonenumber/7.0.+/libphonenumber-7.0.+.pom (https://dl.bintray.com/krasserm/maven/com/googlecode/libphonenumber/libphonenumber/7.0.+/libphonenumber-7.0.+.pom)\r\n    Download error: Caught java.io.FileNotFoundException: https://raw.githubusercontent.com/slorber/gcm-server-repository/master/releases/com/googlecode/libphonenumber/libphonenumber/7.0.+/libphonenumber-7.0.+.pom (https://raw.githubusercontent.com/slorber/gcm-server-repository/master/releases/com/googlecode/libphonenumber/libphonenumber/7.0.+/libphonenumber-7.0.+.pom)\r\n    Download error: Caught java.io.FileNotFoundException: https://oss.sonatype.org/content/repositories/snapshots/com/googlecode/libphonenumber/libphonenumber/7.0.+/libphonenumber-7.0.+.pom (https://oss.sonatype.org/content/repositories/snapshots/com/googlecode/libphonenumber/libphonenumber/7.0.+/libphonenumber-7.0.+.pom)\r\n```\r\nAnd I got one more error after I changed 7.0.+ to specific version:\r\n\r\n```\r\njava.lang.Exception: Exception during resolution\r\n\tat coursier.Tasks$$anonfun$updateTask$1$$anonfun$13.apply(Tasks.scala:282)\r\n\tat coursier.Tasks$$anonfun$updateTask$1$$anonfun$13.apply(Tasks.scala:282)\r\n\tat scalaz.$bslash$div.leftMap(Either.scala:97)\r\n\tat coursier.Tasks$$anonfun$updateTask$1.coursier$Tasks$$anonfun$$report$1(Tasks.scala:282)\r\n\tat coursier.Tasks$$anonfun$updateTask$1$$anonfun$apply$15.apply(Tasks.scala:431)\r\n\tat coursier.Tasks$$anonfun$updateTask$1$$anonfun$apply$15.apply(Tasks.scala:431)\r\n\tat scala.collection.mutable.MapLike$class.getOrElseUpdate(MapLike.scala:189)\r\n\tat scala.collection.mutable.AbstractMap.getOrElseUpdate(Map.scala:91)\r\n\tat coursier.Tasks$$anonfun$updateTask$1.apply(Tasks.scala:429)\r\n\tat coursier.Tasks$$anonfun$updateTask$1.apply(Tasks.scala:120)\r\n\tat scala.Function1$$anonfun$compose$1.apply(Function1.scala:47)\r\n\tat sbt.$tilde$greater$$anonfun$$u2219$1.apply(TypeFunctions.scala:40)\r\n\tat sbt.std.Transform$$anon$4.work(System.scala:63)\r\n\tat sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:226)\r\n\tat sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:226)\r\n\tat sbt.ErrorHandling$.wideConvert(ErrorHandling.scala:17)\r\n\tat sbt.Execute.work(Execute.scala:235)\r\n\tat sbt.Execute$$anonfun$submit$1.apply(Execute.scala:226)\r\n\tat sbt.Execute$$anonfun$submit$1.apply(Execute.scala:226)\r\n\tat sbt.ConcurrentRestrictions$$anon$4$$anonfun$1.apply(ConcurrentRestrictions.scala:159)\r\n\tat sbt.CompletionService$$anon$2.call(CompletionService.scala:28)\r\n\tat java.util.concurrent.FutureTask.run(FutureTask.java:266)\r\n\tat java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)\r\n\tat java.util.concurrent.FutureTask.run(FutureTask.java:266)\r\n\tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)\r\n\tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)\r\n\tat java.lang.Thread.run(Thread.java:745)\r\nCaused by: java.lang.AssertionError: assertion failed: URL: Users/rockjam/.sbt/0.13/plugins/target/resolution-cache/org.yaml/snakeyaml/[1.9,2.0)/resolved.xml.xml, file: Users/rockjam/.sbt/0.13/plugins/target/resolution-cache/org.yaml/snakeyaml/%5B1.9,2.0)/resolved.xml.xml\r\n\tat scala.Predef$.assert(Predef.scala:179)\r\n\tat coursier.Cache$$anonfun$11.apply(Cache.scala:306)\r\n\tat coursier.Cache$$anonfun$11.apply(Cache.scala:299)\r\n\tat scala.collection.TraversableLike$WithFilter$$anonfun$map$2.apply(TraversableLike.scala:722)\r\n\tat scala.collection.immutable.List.foreach(List.scala:318)\r\n\tat scala.collection.TraversableLike$WithFilter.map(TraversableLike.scala:721)\r\n\tat coursier.Cache$.download(Cache.scala:299)\r\n\tat coursier.Cache$.file(Cache.scala:410)\r\n\tat coursier.Cache$$anonfun$fetch$1.apply(Cache.scala:456)\r\n\tat coursier.Cache$$anonfun$fetch$1.apply(Cache.scala:455)\r\n\tat coursier.ivy.IvyRepository$$anonfun$find$2.apply(IvyRepository.scala:261)\r\n\tat coursier.ivy.IvyRepository$$anonfun$find$2.apply(IvyRepository.scala:260)\r\n\tat scalaz.EitherT$$anonfun$flatMap$1$$anonfun$apply$4.apply(EitherT.scala:91)\r\n\tat scalaz.$bslash$div.fold(Either.scala:57)\r\n\tat scalaz.EitherT$$anonfun$flatMap$1.apply(EitherT.scala:91)\r\n\tat scalaz.EitherT$$anonfun$flatMap$1.apply(EitherT.scala:91)\r\n\tat scalaz.concurrent.Task$$anonfun$flatMap$1$$anonfun$1.apply(Task.scala:35)\r\n\tat scalaz.concurrent.Task$$anonfun$flatMap$1$$anonfun$1.apply(Task.scala:35)\r\n\tat scalaz.concurrent.Task$.Try(Task.scala:386)\r\n\tat scalaz.concurrent.Task$$anonfun$flatMap$1.apply(Task.scala:35)\r\n\tat scalaz.concurrent.Task$$anonfun$flatMap$1.apply(Task.scala:33)\r\n\tat scala.Function1$$anonfun$andThen$1.apply(Function1.scala:55)\r\n\tat scala.Function1$$anonfun$andThen$1.apply(Function1.scala:55)\r\n\tat scalaz.concurrent.Future$$anonfun$flatMap$1.apply(Future.scala:58)\r\n\tat scalaz.concurrent.Future$$anonfun$flatMap$1.apply(Future.scala:58)\r\n\tat scalaz.concurrent.Future.step(Future.scala:109)\r\n\tat scalaz.concurrent.Future.listen(Future.scala:75)\r\n\tat scalaz.concurrent.Future$$anon$1$$anonfun$reduceUnordered$2$$anonfun$apply$10.apply(Future.scala:309)\r\n\tat scalaz.concurrent.Future$$anon$1$$anonfun$reduceUnordered$2$$anonfun$apply$10.apply(Future.scala:308)\r\n\tat scala.collection.mutable.ResizableArray$class.foreach(ResizableArray.scala:59)\r\n\tat scala.collection.mutable.ArrayBuffer.foreach(ArrayBuffer.scala:47)\r\n\tat scalaz.concurrent.Future$$anon$1$$anonfun$reduceUnordered$2.apply(Future.scala:308)\r\n\tat scalaz.concurrent.Future$$anon$1$$anonfun$reduceUnordered$2.apply(Future.scala:304)\r\n\tat scalaz.concurrent.Future.listen(Future.scala:79)\r\n\tat scalaz.concurrent.Future$$anonfun$listen$1$$anonfun$apply$4.apply(Future.scala:79)\r\n\tat scalaz.concurrent.Future$$anonfun$listen$1$$anonfun$apply$4.apply(Future.scala:79)\r\n\tat scalaz.Free$$anonfun$map$1.apply(Free.scala:52)\r\n\tat scalaz.Free$$anonfun$map$1.apply(Free.scala:52)\r\n\tat scalaz.Free.resume(Free.scala:73)\r\n\tat scalaz.Free.go2$1(Free.scala:118)\r\n\tat scalaz.Free.go(Free.scala:122)\r\n\tat scalaz.Free.run(Free.scala:172)\r\n\tat scalaz.concurrent.Future.listen(Future.scala:76)\r\n\tat scalaz.concurrent.Future$$anonfun$listen$1$$anonfun$apply$4.apply(Future.scala:79)\r\n\tat scalaz.concurrent.Future$$anonfun$listen$1$$anonfun$apply$4.apply(Future.scala:79)\r\n\tat scalaz.Free$$anonfun$map$1.apply(Free.scala:52)\r\n\tat scalaz.Free$$anonfun$map$1.apply(Free.scala:52)\r\n\tat scalaz.Free.resume(Free.scala:73)\r\n\tat scalaz.Free.go2$1(Free.scala:118)\r\n\tat scalaz.Free.go(Free.scala:122)\r\n\tat scalaz.Free.run(Free.scala:172)\r\n\tat scalaz.concurrent.Future$$anonfun$apply$15$$anon$4.call(Future.scala:380)\r\n\tat scalaz.concurrent.Future$$anonfun$apply$15$$anon$4.call(Future.scala:380)\r\n\tat java.util.concurrent.FutureTask.run(FutureTask.java:266)\r\n\tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)\r\n\tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)\r\n\tat java.lang.Thread.run(Thread.java:745)\r\n```\r\nAs I can see, that stack trace points to Cache.scala: 306, which was removed in this revision: https://github.com/alexarchambault/coursier/commit/214e0f893efd6f1aebaebebbc49ce441944c5490#diff-865e8f99a3d136acc3acb4ffcdd0b626L306 \r\n\r\nSo, I guess it will be fixed with next release"}}