One library dependency removes another #468

Closed
harrah opened this Issue Jan 5, 2013 · 1 comment

Comments

Projects
None yet
1 participant
Owner

harrah commented Jan 5, 2013

A strange behavior in sbt 0.11.3, when one library dependency, org.sat4j.pb, removes another one, org.sat4j.core.

Minimum example looks as following (build.sbt):

libraryDependencies ++= Seq("org.sat4j" % "org.sat4j.pb" % "2.3.1", "org.sat4j" % "org.sat4j.core" % "2.3.1")

Then when I run sbt, the library is present in the list of dependencies, but is not present in the classpath:

> show library-dependencies
[info] List(org.scala-lang:scala-library:2.9.1, org.sat4j:org.sat4j.pb:2.3.1, org.sat4j:org.sat4j.core:2.3.1)
> show dependency-classpath
[info] ArrayBuffer(Attributed(/Users/alex/.sbt/boot/scala-2.9.1/lib/scala-library.jar), Attributed(/Users/alex/.ivy2/cache/org.sat4j/org.sat4j.pb/jars/org.sat4j.pb-2.3.1.jar))

Other dependencies seems to be unaffected.

Owner

harrah commented Jan 5, 2013

IMPORTANT This project has moved to https://github.com/sbt/sbt. This issue still exists to avoid dead links, but GitHub limitations prevent the original issue from being correctly preserved here. Please see sbt/sbt#468 for the full issue and to comment.

@harrah harrah closed this Jan 5, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment