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

dev-deps and plugins should have implicit exclusions of clojure & contrib #375

Closed
wilkes opened this issue Jan 20, 2012 · 2 comments
Closed

Comments

@wilkes
Copy link
Contributor

wilkes commented Jan 20, 2012

(defproject simple "1.0.0-SNAPSHOT"
  :description "FIXME: write description"
  :dependencies [[org.clojure/clojure "1.3.0"]]
  :dev-dependencies [[lein-marginalia "0.7.0-SNAPSHOT"]])

To recreate, create a new project with the above project.clj, run lein deps (it should work), then run lein deps again.

@trptcolin
Copy link
Collaborator

I ran into the same thing with reply, and my workaround is to add :exclusions [org.clojure/clojure] to the non-clojure dependencies.

For more details, the issue I wrong-headedly opened on cd-client, thinking it was an AOT-specific thing, is here dakrone/clojuredocs-client#6

@technomancy
Copy link
Owner

Leiningen should probably add an :exclusion in implictly for you in this case and the case of plugins. Will try to get this into 1.7.0.

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

3 participants