{"action":"created","issue":{"url":"https://api.github.com/repos/sbt/sbt/issues/1933","labels_url":"https://api.github.com/repos/sbt/sbt/issues/1933/labels{/name}","comments_url":"https://api.github.com/repos/sbt/sbt/issues/1933/comments","events_url":"https://api.github.com/repos/sbt/sbt/issues/1933/events","html_url":"https://github.com/sbt/sbt/issues/1933","id":63590070,"number":1933,"title":"False positive in the inconsistent duplicate warnings","user":{"login":"dwijnand","id":344610,"avatar_url":"https://avatars.githubusercontent.com/u/344610?v=3","gravatar_id":"","url":"https://api.github.com/users/dwijnand","html_url":"https://github.com/dwijnand","followers_url":"https://api.github.com/users/dwijnand/followers","following_url":"https://api.github.com/users/dwijnand/following{/other_user}","gists_url":"https://api.github.com/users/dwijnand/gists{/gist_id}","starred_url":"https://api.github.com/users/dwijnand/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dwijnand/subscriptions","organizations_url":"https://api.github.com/users/dwijnand/orgs","repos_url":"https://api.github.com/users/dwijnand/repos","events_url":"https://api.github.com/users/dwijnand/events{/privacy}","received_events_url":"https://api.github.com/users/dwijnand/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-03-22T23:29:29Z","updated_at":"2015-04-07T08:26:06Z","closed_at":null,"body":"# steps\r\n1) Given `sbt.version=0.13.8`, setup `build.sbt` as:\r\n```\r\nscalaVersion := \"2.11.6\"\r\nlibraryDependencies += \"org.scoverage\" %% \"scalac-scoverage-runtime\" % \"1.0.4\" % \"provided\"\r\n```\r\n2) Invoke `updateClassifiers`\r\n\r\n# problem\r\n```\r\n[warn] Multiple dependencies with the same organization/name but different versions. To avoid conflict, pick one version:\r\n[warn]  * org.scala-lang:scala-library:(2.11.6, 2.11.4)\r\n```\r\n\r\n# expectation\r\nNo warnings.\r\n\r\n# note\r\nOriginal report below:\r\n\r\n@fommil indicates [on the mailing lists][Sam Halliday topic] (and @sslavic [as well][Stevo Slavić post]) that there seems to be a false positive in the inconsistent duplicate warnings.\r\n\r\n  [Sam Halliday topic]: https://groups.google.com/d/topic/sbt-dev/61J8cnQrsxU/discussion\r\n  [Stevo Slavić post]: https://groups.google.com/d/msg/sbt-dev/w6dx6WWyAOE/0aJv8pbD9_gJ\r\n\r\nFrom Sam's post:\r\n> Since upgrading to sbt 0.13.8 I get a *lot* of errors of this nature (i.e. same thing repeated over and over):\r\n\r\n    [warn] Multiple dependencies with the same organization/name but different versions. To avoid conflict, pick one version:\r\n    [warn]  * org.scala-lang:scala-library:(2.11.6, 2.11.4)\r\n    [warn]  * org.scala-lang.modules:scala-parser-combinators_2.11:(1.0.1, 1.0.2, 1.0.3)\r\n    [warn]  * org.scala-lang.modules:scala-xml_2.11:(1.0.1, 1.0.3)\r\n\r\n> I'm actually depending on explicit versions of all these libraries so I believe this is a bug in the warning code.\r\n\r\nRunning `gen-ensime` on the [ensime-server] build will reproduce the problem.\r\n\r\n  [ensime-server]: https://github.com/ensime/ensime-server"},"comment":{"url":"https://api.github.com/repos/sbt/sbt/issues/comments/90457884","html_url":"https://github.com/sbt/sbt/issues/1933#issuecomment-90457884","issue_url":"https://api.github.com/repos/sbt/sbt/issues/1933","id":90457884,"user":{"login":"EECOLOR","id":1486362,"avatar_url":"https://avatars.githubusercontent.com/u/1486362?v=3","gravatar_id":"","url":"https://api.github.com/users/EECOLOR","html_url":"https://github.com/EECOLOR","followers_url":"https://api.github.com/users/EECOLOR/followers","following_url":"https://api.github.com/users/EECOLOR/following{/other_user}","gists_url":"https://api.github.com/users/EECOLOR/gists{/gist_id}","starred_url":"https://api.github.com/users/EECOLOR/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EECOLOR/subscriptions","organizations_url":"https://api.github.com/users/EECOLOR/orgs","repos_url":"https://api.github.com/users/EECOLOR/repos","events_url":"https://api.github.com/users/EECOLOR/events{/privacy}","received_events_url":"https://api.github.com/users/EECOLOR/received_events","type":"User","site_admin":false},"created_at":"2015-04-07T08:26:06Z","updated_at":"2015-04-07T08:26:06Z","body":"We have similar warnings with this project setup:\r\n\r\n`build.sbt`\r\n```scala\r\nlazy val root = project.in( file(\".\") )\r\n  .enablePlugins( PlayScala )\r\n  .settings (\r\n            name := \"project\",\r\n    scalaVersion := \"2.11.5\",\r\n         version := \"0.1-SNAPSHOT\"\r\n  )\r\n```\r\n\r\n`project/play.sbt`\r\n```scala\r\nlogLevel := Level.Warn\r\n\r\nresolvers += \"Typesafe repository\" at \"http://repo.typesafe.com/typesafe/releases/\"\r\n\r\naddSbtPlugin(\"com.typesafe.play\" % \"sbt-plugin\" % \"2.3.8\")\r\n```\r\n\r\n`project/build.properties`\r\n```scala\r\nsbt.version=0.13.8\r\n```"}}