False positive in the inconsistent duplicate warnings
See original GitHub issuesteps
- Given
sbt.version=0.13.8
, setupbuild.sbt
as:
scalaVersion := "2.11.6"
libraryDependencies += "org.scoverage" %% "scalac-scoverage-runtime" % "1.0.4" % "provided"
- Invoke
updateClassifiers
problem
[warn] Multiple dependencies with the same organization/name but different versions. To avoid conflict, pick one version:
[warn] * org.scala-lang:scala-library:(2.11.6, 2.11.4)
expectation
No warnings.
note
Original report below:
@fommil indicates on the mailing lists (and @sslavic as well) that there seems to be a false positive in the inconsistent duplicate warnings.
From Sam’s post:
Since upgrading to sbt 0.13.8 I get a lot of errors of this nature (i.e. same thing repeated over and over):
[warn] Multiple dependencies with the same organization/name but different versions. To avoid conflict, pick one version:
[warn] * org.scala-lang:scala-library:(2.11.6, 2.11.4)
[warn] * org.scala-lang.modules:scala-parser-combinators_2.11:(1.0.1, 1.0.2, 1.0.3)
[warn] * org.scala-lang.modules:scala-xml_2.11:(1.0.1, 1.0.3)
I’m actually depending on explicit versions of all these libraries so I believe this is a bug in the warning code.
Running gen-ensime
on the ensime-server build will reproduce the problem.
Issue Analytics
- State:
- Created 8 years ago
- Comments:38 (9 by maintainers)
Top Results From Across the Web
Inconsistent duplicate TCP packets
One plausible, naive defense is for the IDS to alert whenever it sees a retransmission that carries a different payload than the original....
Read more >Duplicates Invoices – Root Cause Analysis - CAATS
False Positives : invoice payments identified as potential duplicates when they are not duplicates. Reversed invoices. A key step to reducing the ...
Read more >Pylint false positives - lukeplant.me.uk
I took part of the code from a side project where I don't use Pylint, ran Pylint (with some very basic tuning) and...
Read more >Duplicate detection false positives - Zotero Forums
I've encountered an error in duplicate detection--items with the same or very similar titles are identified as duplicates even though they have ...
Read more >Toxicologic Testing for Opiates: Understanding False-Positive ...
WHAT CAUSES FALSE-POSITIVE URINE TOXICOLOGY SCREENS AND HOW CAN THEY BE DETECTED? ... False-positive screens are the result of cross-reactivity to the antibody...
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 Free
Top 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
@Lvctao 42
+1 => 0.13.8 &&scala: 2.11.8