Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bundle dependencies downloaded into jars folder as well as bundles folder #332

Open
tekumara opened this issue Aug 31, 2015 · 0 comments
Open

Comments

@tekumara
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant