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.

coursier should try all resolvers for missing classifiers

See original GitHub issue

This is kind of shitty, but I would like that all resolvers be tried if a classifier is missing.

E.g.

"com.viewpagerindicator" % "library" % "2.4.1" artifacts(Artifact("library", "aar", "aar"))

is not available at http://repo1.maven.org/maven2/com/viewpagerindicator/library/2.4.1/

however, it is resolved at http://dl.bintray.com/populov/maven/com/viewpagerindicator/library/2.4.1/

Ivy seems to do this automatically, and so does gradle.

Issue Analytics

  • State:open
  • Created 8 years ago
  • Reactions:1
  • Comments:8 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
2mcommented, Jul 2, 2017

This is also a problem with a new Google repository (resolvers += "Google" at "https://maven.google.com"). For example "android.arch.lifecycle" % "extensions" % "1.0.0-alpha3" is not resolved as an aar. I get the following error:

[error] (*:update) coursier.ResolutionException: 3 not found
[error]   https://maven.google.com/android/arch/core/core/1.0.0-alpha3/core-1.0.0-alpha3.jar
[error]   https://maven.google.com/android/arch/lifecycle/extensions/1.0.0-alpha3/extensions-1.0.0-alpha3.jar
[error]   https://maven.google.com/android/arch/lifecycle/runtime/1.0.0-alpha3/runtime-1.0.0-alpha3.jar

Jar is not there, but aar is.

0reactions
2mcommented, Sep 25, 2017

This has been fixed. Can be closed now.

Read more comments on GitHub >

github_iconTop Results From Across the Web

coursier/coursier - Gitter
I am currently using sbt-s3-resolver with sbt, seems that it is not directly compatible with coursier. Can it be related with alexarchambault/coursier#164 ?...
Read more >
Support repositories hosted with plugins like fm-sbt-s3-resolver
At work, we currently use https://github.com/frugalmechanic/fm-sbt-s3-resolver as a way to store our private artifacts in an S3 repo. This doesn't work with ...
Read more >
Why is SBT 1.5.5 ignoring my Resolver.ssh - Stack Overflow
The resolver is defined and added to SBT run, but when I try to use it, it's thrown out as unrecognized. Any idea's?...
Read more >
Going Wild: Large-Scale Classification of Open DNS Resolvers
Permission to make digital or hard copies of all or part of this work for personal or ... cordingly, we missed 145,304 resolvers...
Read more >
Ammonite
The traditional Scala REPL doesn't handle runaway code, and gives you no option but to kill the process, losing all your work. Ammonite-REPL...
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