bundle dependencies downloaded into jars folder as well as bundles folder
tekumara opened this issue · 0 comments
tekumara commented
Given a project with a dependency that is packaged as a bundle, eg:
lazy val tikaParser = "org.apache.tika" % "tika-parsers" % "1.0"
(tika-parsers is packaged as a bundle, see http://mvnrepository.com/artifact/org.apache.tika/tika-parsers/1.0)
When I resolve a project that contains a dependency on a bundle package, sbt gen-idea
will trigger a resolve and download the bundles twice - into both the jars and bundles directory of the ivy cache:
➜ ~ ls ~/.ivy2/cache/org.apache.tika/tika-parsers/bundles
tika-parsers-1.0.jar
➜ ~ ls ~/.ivy2/cache/org.apache.tika/tika-parsers/jars
tika-parsers-1.0.jar
This is fine, except that when I share the generated libarries files with another user who hasn't run sbt gen-idea
, and only run sbt update
, they only have the dependency in the bundles directory and not the jars directory.