On Sat, Mar 2, 2013 at 4:17 PM, Frank Siebenlist <frank.siebenl...@gmail.com> wrote: >> ... >> The chain causing problems for you is: >> >> [clj-ns-browser "1.3.0"] -> [seesaw "1.4.2"] -> [j18n "1.0.1"] -> >> [org.clojure/clojure "[1.2,1.5)"] >> >> The last one there allows clojure below 1.5, which includes -RC17. As >> soon as you bump to to 1.5 it ignores the "soft" version in your >> :dependencies, and chooses one in the range based on your other >> dependencies. >> >> You should just need the :exclusion in clj-ns-browser. >> >> - >> Nelson Morris > > As i'm responsible for the clj-ns-browser release... > And although the dependency issue seems another 2 levels down, can i specify > anything differently in my project file to prevent this?
You could add the a similar exclusion for org.clojure/clojure in the seesaw dependency declaration, but I'd just wait for the next seesaw release which will handle it. > > Or is this a bug in leiningen's dependency resolution? > Unfortunately it's behaviour defined by maven. In order to be compatible lein has to do the same thing. I've written up a few things about version ranges at http://nelsonmorris.net/2012/07/31/do-not-use-version-ranges-in-project-clj.html and in some other mailing list threads. The confusion about what can happen with dependencies led me to make https://github.com/xeqi/lein-pedantic, which is helpful for some cases. In addition, I hope to get some easier debugging for this case into lein itself; issues at: https://github.com/technomancy/leiningen/issues/734 and https://github.com/cemerick/pomegranate/issues/54 -- -- 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/groups/opt_out.