Search code examples
clojureleiningen

Keeping dependency versions up to date in Leiningen projects


Is there a simple way to find out what versions of dependencies are available using Leiningen?

E.g., if I have a web app which depends on Hiccup and Compojure, how can I be sure that I'm on the latest version of each without going to the github page for each?

NOTE: I use Ant and Ivy for building my Java projects, so I have limited knowledge of Maven - so please spell out (or provide Fine Links for me to read) any Maven concepts that Leiningen exposes to me which would help with this (I know that under the hood, Leiningen uses Maven for dependency resolution). Ta.


Solution

  • The canonical way of doing this, at least for dependencies kept in clojars, is the lein-search plugin.

    Update: See the highest-rated answer below for a more up-to-date response.