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.

False positive in the inconsistent duplicate warnings

See original GitHub issue

steps

  1. Given sbt.version=0.13.8, setup build.sbt as:
scalaVersion := "2.11.6"
libraryDependencies += "org.scoverage" %% "scalac-scoverage-runtime" % "1.0.4" % "provided"
  1. 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:closed
  • Created 8 years ago
  • Comments:38 (9 by maintainers)

github_iconTop GitHub Comments

12reactions
EECOLORcommented, Jun 7, 2016
0reactions
badkkcommented, Oct 14, 2016

+1 => 0.13.8 &&scala: 2.11.8

Read more comments on GitHub >

github_iconTop 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 >

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