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.

Source Dependencies Seem To Break Coursier

See original GitHub issue

Coursier seems to break when asked to resolve sbt source dependencies:

Demo Build: https://github.com/clhodapp/breaking-coursier

Build Session:

[info] Loading global plugins from /Users/chodapp/.sbt/0.13/plugins
[info] Loading project definition from /Users/chodapp/breaking-coursier/project
[info] Loading project definition from /Users/chodapp/.sbt/0.13/staging/48a264571f657e256051/stubby/project
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
[info] Set current project to breaking-coursier (in build file:/Users/chodapp/breaking-coursier/)
> update
[info] Updating breaking-coursier
[trace] Stack trace suppressed: run last breaking-coursier/*:coursierResolution for the full output.
[error] (breaking-coursier/*:coursierResolution) coursier.ResolutionException: Encountered 1 error(s) in dependency resolution:
[error]   org.scala_stubby:stubby_2.11:0.0.1-m1-1-gfb03336:
[error]     not found:
[error]       /Users/chodapp/.ivy2/local/org.scala_stubby/stubby_2.11/0.0.1-m1-1-gfb03336/ivys/ivy.xml
[error]       https://repo1.maven.org/maven2/org/scala_stubby/stubby_2.11/0.0.1-m1-1-gfb03336/stubby_2.11-0.0.1-m1-1-gfb03336.pom
[error] Total time: 2 s, completed Nov 12, 2016 7:28:55 AM
>

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:4
  • Comments:7 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
clhodappcommented, Nov 26, 2016

For now, I am just injecting the coursier settings into the upstream projects manually (and thus forcing them to resolve with coursier):

lazy val stubby = RootProject(uri("ssh://git@github.com:/scala-stubby/stubby.git#fb03336"))
inScope(Scope.GlobalScope in stubby)(coursier.CoursierPlugin.projectSettings)
0reactions
alexarchambaultcommented, Jun 21, 2019

Closing this. Ensuring coursier is around in the sourced projects works, and the upcoming sbt 1.3.0, with default coursier support, should help too.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Version handling - Coursier
Version reconciliation happens when two or more of your direct or transitive dependencies depend on different versions of the same module.
Read more >
Sane Scala Dependencies in a Poly-Repo Codebase
In this post I'll offer some good practices for managing Scala dependencies in a poly-repo codebase.
Read more >
Xcode 13.3 cycle in dependencies between targets
So using latest Xcode 13.3 on an Apple Silicon MacBook I get a compile error the 2nd time and every time there after...
Read more >
Write More Maintainable, Testable Code with Dependency ...
We would have to possess a very broad knowledge of courier systems and have to update it frequently as these various professions evolve....
Read more >
Ninja: Object file compilation unconditionally depends on ...
Use tasks to break down this issue into smaller parts. ... are a subset of B's custom command dependencies (i.e., any headers/sources/etc.
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