Phil Hagelberg <p...@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:
> https://github.com/technomancy/leiningen/wiki/Repeatability

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

  https://github.com/ato/lein-outdated

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.

Bye,
Tassilo

-- 
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

Reply via email to