-
Notifications
You must be signed in to change notification settings - Fork 1k
Closed
Description
steps
- Given
sbt.version=0.13.8, setupbuild.sbtas:
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.
Reactions are currently unavailable