question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Version range issue with updateSbtClassifiers

See original GitHub issue

Quick repro:

  • create a project/build.properties with
sbt.version=0.13.11
  • create a project/plugins.sbt with
addSbtPlugin("com.github.ddispaltro" % "sbt-reactjs" % "0.6.8")
  • create an empty build.sbt,
  • coursier SBT plugin 1.0.0-M12 enabled globally.

Run:

$ sbt updateSbtClassifiers
...
[error] (*:coursierSbtClassifiersResolution) coursier.ResolutionException: Encountered 2 error(s) in dependency resolution:
[error]   org.webjars.npm:amdefine:0.0.4:
[error]     not found:
[error]       https://repo.typesafe.com/typesafe/ivy-releases/org.webjars.npm/amdefine/0.0.4/ivys/ivy.xml
[error]       https://repo.scala-sbt.org/scalasbt/sbt-plugin-releases/org.webjars.npm/amdefine/0.0.4/ivys/ivy.xml
[error]       /Users/alexandre/.ivy2/local/org.webjars.npm/amdefine/0.0.4/ivys/ivy.xml
[error]       https://repo1.maven.org/maven2/org/webjars/npm/amdefine/0.0.4/amdefine-0.0.4.pom
[error]       https://oss.sonatype.org/content/repositories/releases/org/webjars/npm/amdefine/0.0.4/amdefine-0.0.4.pom
[error]   org.webjars.npm:amdefine:0.0.4:
[error]     not found:
[error]       https://repo.typesafe.com/typesafe/ivy-releases/org.webjars.npm/amdefine/0.0.4/ivys/ivy.xml
[error]       https://repo.scala-sbt.org/scalasbt/sbt-plugin-releases/org.webjars.npm/amdefine/0.0.4/ivys/ivy.xml
[error]       /Users/alexandre/.ivy2/local/org.webjars.npm/amdefine/0.0.4/ivys/ivy.xml
[error]       https://repo1.maven.org/maven2/org/webjars/npm/amdefine/0.0.4/amdefine-0.0.4.pom
[error]       https://oss.sonatype.org/content/repositories/releases/org/webjars/npm/amdefine/0.0.4/amdefine-0.0.4.pom
...

(output format slightly different than 1.0.0-M12, changes to be pushed).

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:11 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
jaiewcommented, Dec 5, 2017

We are using sbt 0.13.11 with coursier 1.0.0-RC13 and we get the following error:

coursier.ResolutionException: Encountered 1 error(s) in dependency resolution:
    org.webjars.npm:jsonify:[0.0.0,0.1):
        not found:
            /Users/jaiew/.ivy2/local/org.webjars.npm/jsonify/[0.0.0,0.1)/ivys/ivy.xml
            https://repo1.maven.org/maven2/org/webjars/npm/jsonify/%5B0.0.0,0.1)/jsonify-%5B0.0.0,0.1).pom

It looks like the version range is still an issue?

0reactions
alexarchambaultcommented, Nov 16, 2016

Initial issue fixed since 1.0.0-M14 at least.

Read more comments on GitHub >

github_iconTop Results From Across the Web

coursier/coursier - Gitter
Hi, I bumped coursier to from RC3 -> RC4, sbt works fine from command line, but IntelliJ now fails.. did any of you...
Read more >
[bug] Incompatible versions ranges overriden #8504 - GitHub
Playing around with versions ranges, seeing it if was possibly to remove endless yellow warning of versions being overridden.
Read more >
sbt Reference Manual — Combined Pages
Note: Please report any issues with these to the sbt project. ... Maven version ranges will be replaced with its lower bound if...
Read more >
java - Why dynamic version ranges in Maven are not as useful ...
0) are quite popular and seems like limiting problems of dependency conflicts: chances are higher that two ranges overlap than that two exact ......
Read more >
Version ranges — conan 1.55.0 documentation
txt and in conanfile.py requirements. The syntax uses brackets. The square brackets are the way to inform Conan that is a version range....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found