Is it possible to download and install previously unspecified Maven dependencies in a running Clojure REPL?
I'm thinking of the fairly common case where you want to quickly pull in a dependency temporarily for some testing or visualisation tools, but don't want to close down your current REPL session.
For example if you wanted to pull in Incanter to draw some pretty charts of data in your current REPL session, you might use something like the following:
(load-dependency "incanter" "incanter" "1.3.0-SNAPSHOT")
;; now do stuff with Incanter......
Presumably you would have to trigger the dependency resoltion / loading in Maven or Leiningen from an appropriate repository but I don't know enough about their internals to know whether this is possible or not at runtime.....