classifier on dependency not set in published ivy.xml #439

harrah opened this Issue Jan 5, 2013 · 1 comment


None yet
1 participant

harrah commented Jan 5, 2013

In a simple project

libraryDependencies := Seq("net.sf.json-lib" % "json-lib" % "2.4" classifier "jdk15")

when running "publish-local" the generated ivy.xml is missing the specified classifier on the dependency.

  <dependency org="net.sf.json-lib" name="json-lib" rev="2.4" conf="compile->default(compile)">

Looking into the generated pom, the classifier is there.


Trying to use the locally published artefact in another sbt project fails:

[warn]  [NOT FOUND  ] net.sf.json-lib#json-lib;2.4!json-lib.jar (51ms)
[warn] tried http://mvn.proxy/net/sf/json-lib/json-lib/2.4/json-lib-2.4.jar

harrah commented Jan 5, 2013

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

harrah closed this Jan 5, 2013

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