On Thu, Jul 14, 2016 at 6:52 AM, Cecil Westerhof <[email protected]> wrote: > Is there a way to signify latest stable version? Because when you use: > :dependencies [[org.clojure/clojure "LATEST"] > it wants to work with: > clojure-1.9.0-alpha10 > > I prefer to use clojure-1.8.0. There is a reason it is called alpha. But > when there is a stable 1.9.0 I want to use that one. >
No - you'll have to specify "1.8.0" as the version if you want the latest stable release. Maven-style repos support two special versions: "LATEST" and "RELEASE". LATEST will give you the latest deployment, either a release or a snapshot. RELEASE ignores snapshots, so you get the latest release. Since there is no standard around qualifiers (alpha, beta, final, experimental, etc) other than SNAPSHOT, the repo has no way to know that 1.9.0-alpha10 has a different stability level than 1.8.0. However, I would recommend against using these special versions in general (even if they did work the way you want), because you will at some point get a new version with no action on your part. When this happens, you may end up with test failures or new warning messages, and have to track down the cause, looking at every dependency you have set to a special version, with no immediate indication of which ones may have changed. - Toby -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to [email protected] Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to [email protected] 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 [email protected]. For more options, visit https://groups.google.com/d/optout.
