Re: Wildcards in Leiningen Dependencies Versions
Tassilo Horn <tassilo <at> member.fsf.org>
2012-06-19 06:22:41 GMT
Phil Hagelberg <phil <at> hagelb.org> writes:
>> Does leiningen support wildcards in dependencies version numbers ? I
>> would usually like to use the latest version for some library, and it
>> would be nice if I can indicate it by using a wildcard, so tat I dont
>> need to keep checking if a new version has been released.
> You can do this, but it's not a good idea:
I did use that, and as Phil points out ran into maven dependency issues.
My motivation was mainly that it's convenient when you get dependency
updates "for free", and I am pretty optimistic that my stuff usually
won't break if foobar-0.1.0 is updated to foobar-0.2.0.
Because of the dependency issues I stopped using version ranges, and in
the meantime I discovered the leiningen outdated plugin at
Using that, running "lein outdated" tells you what dependencies have
received updates (on maven central, clojars, whatever you use), and you
can easily adjust versions and check if your project works with the new
versions, too. That's about as convenient as version ranges, and it has
the added benefit of you knowing exactly what you've updated in case an
update really breaks something.
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure <at> 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+unsubscribe <at> googlegroups.com
For more options, visit this group at