0.6.8 breaks coursier
nafg opened this issue · 0 comments
nafg commented
In 0.5.2 everything was fine. After switching to 0.6.8, with coursier enabled, updateSbtClassifiers
complains:
2 error(s):
org.webjars.npm:lru-cache:[2.7.0,3):
Not found: /home/naftoli/.sbt/0.13/plugins/target/resolution-cache/org.webjars.npm/lru-cache/[2.7.0,3)/resolved.xml.xml
Not found
Not found: https://repo.typesafe.com/typesafe/ivy-releases/org.webjars.npm/lru-cache/[2.7.0,3)/ivys/ivy.xml
Not found: https://repo.scala-sbt.org/scalasbt/sbt-plugin-releases/org.webjars.npm/lru-cache/[2.7.0,3)/ivys/ivy.xml
Not found: /home/naftoli/.ivy2/local/org.webjars.npm/lru-cache/[2.7.0,3)/ivys/ivy.xml
No version found for [2.7.0,3)
Unrecognized SHA-1 checksum format in /home/naftoli/.coursier/cache/v1/http/flywaydb.org/repo/org/webjars/npm/lru-cache/maven-metadata.xml.sha1
org.webjars.npm:lru-cache:[2.7.0,3):
Not found: /home/naftoli/.sbt/0.13/plugins/target/resolution-cache/org.webjars.npm/lru-cache/[2.7.0,3)/resolved.xml.xml
Not found
Not found: https://repo.typesafe.com/typesafe/ivy-releases/org.webjars.npm/lru-cache/[2.7.0,3)/ivys/ivy.xml
Not found: https://repo.scala-sbt.org/scalasbt/sbt-plugin-releases/org.webjars.npm/lru-cache/[2.7.0,3)/ivys/ivy.xml
Not found: /home/naftoli/.ivy2/local/org.webjars.npm/lru-cache/[2.7.0,3)/ivys/ivy.xml
No version found for [2.7.0,3)
Unrecognized SHA-1 checksum format in /home/naftoli/.coursier/cache/v1/http/flywaydb.org/repo/org/webjars/npm/lru-cache/maven-metadata.xml.sha1
Warning: unrecognized repository inter-project, ignoring it
Indeed,
$ coursier fetch 'org.webjars.npm:lru-cache:[2.7.0,3)'
Error:
org.webjars.npm:lru-cache:[2.7.0,3):
not found: /home/naftoli/.ivy2/local/org.webjars.npm/lru-cache/[2.7.0,3)/ivys/ivy.xml
No version found for [2.7.0,3)
However,
$ coursier fetch org.webjars.npm:lru-cache:2.7.0
/home/naftoli/.coursier/cache/v1/https/repo1.maven.org/maven2/org/webjars/npm/lru-cache/2.7.0/lru-cache-2.7.0.jar
So apparently Coursier can't handle version ranges.
Do you have any idea what's pulling in lru-cache, and why only in updateSbtClassifiers
?