Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Prints a nicely formatted tree of all project dependencies
Clojure
branch: master

README.md

lein-deps-tree

A Leiningen plugin to print a print a nicely formatted tree of a project's dependencies.

Usage

Put [lein-deps-tree "0.1.2"] into the :plugins vector of your :user profile, or if you are on Leiningen 1.x do lein plugin install lein-deps-tree 0.1.2.

Run

$ lein deps-tree

to print the tree of dependencies.

Run

$ lein deps-tree <integer>

to control the indentation level.

Example Output

Example output of a project with [compojure "1.0.1"] and [clojure "1.3.0"] as dependency:

$ lein deps-tree
[compojure 1.0.1]
         [clout 1.0.1]
         [org.clojure/core.incubator 0.1.0]
         [org.clojure/tools.macro 0.1.0]
         [ring/ring-core 1.0.1]
                  [commons-codec 1.4]
                  [commons-fileupload 1.2.1]
                  [commons-io 1.4]
                  [javax.servlet/servlet-api 2.5]
[org.clojure/clojure 1.3.0]

Known Bugs

  • SNAPSHOT releases aren't included in the dependency tree
  • There MIGHT be an issue with lein deps failing with some pomegrenate exception. See 1.

License

Copyright © 2012 Moritz Ulrich

Distributed under the Eclipse Public License, the same as Clojure.

Something went wrong with that request. Please try again.