Coursier evicts wrong version
See original GitHub issueThe coursier
plugin evicts different versions that sbt
. It should evict the same version.
Issue Analytics
- State:
- Created 7 years ago
- Reactions:4
- Comments:10 (4 by maintainers)
Top Results From Across the Web
Strange versions conflict in sbt strict mode - Stack Overflow
It is incorrectly reporting [1.26.0] as a version that was evicted by 1.26.0 . It's also including the same stuff three times with...
Read more >coursier/coursier - Gitter
I'm playing with version reconciliation, and I don't understand why it's giving an ... [error] (evicted) lmcoursier.internal.shaded.coursier.error.conflict.
Read more >Preventing Version Conflicts with versionScheme
This makes eviction warnings less reliable since many of these warnings are false positive, and, in practice, they are ignored by developers.
Read more >Sbt binary incompatibilty errors - wiringbits
There seems to be a binary-incompatibility problem with our project dependencies (ref). Β· The error message suggests you to run sbt evicted whichΒ ......
Read more >sbt Reference Manual β Library Management
sbt 1.3.0+ uses Coursier to implement dependency management. ... which shows the newer version as being selected and the older version as evicted....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hereβs a small test case for this bug (or a similar one).
project/plugins.sbt
:build.sbt
:Then
coursierDependencyTree
produces the following:This line indicates the bug:
That is, mainecoon dependency overrides the one explicitly specified in
build.sbt
.Hereβs a PR to sort unknown qualifiers such as
-MF
before1.0.0-RC1
- https://github.com/coursier/coursier/pull/1315