Andy Fingerhut <andy.finger...@gmail.com> writes:

> Try running 'lein deps :tree >& deps.txt' in each of those projects,
> and diff them. I can't explain why the differences are there that
> exist, but there are significant differences, including in version
> numbers of some of the dependencies brought in.
>
> Asking on the Leiningen email list or #clojure IRC channel may be more
> fruitful.

Thanks for you answer. Further research indicates that the order of the
dependencies does matter (at least for transitive dependencies). Both
friend and clj-httpclient depend on org.apache.httpcomponents/httpclient,
so if friend comes first in the dependency vector lein will fetch
version 4.2.1. However if clj-httpclient comes first lein will fetch
version 4.3.5.

I guess there are two ways out of this:

1. change the order so that clj-httpclient comes first
2. file a bug report with friend

For my project I changed the order and I just filed a bug with friend
(https://github.com/cemerick/friend/issues/128). In fact there is even
already a pull request that adresses this issue.

Thanks
Christian

-- 
Christian Egli
Swiss Library for the Blind, Visually Impaired and Print Disabled
Grubenstrasse 12, CH-8045 Zürich, Switzerland

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to