maravillas/lein-multi — Issue #3: Possible to have :default dependency set?
Author: sritchie
Created: 2011-12-16 00:37:04+00:00
State: open

I find that for projects with a large number of dependencies I sometimes want to change only the clojure version and keep everything else the same. Right now I've just repeated a number of dependencies: https://github.com/nathanmarz/cascalog/blob/master/project.clj.

Would it be possible to have a set of shared dependencies that are merged in with every other multi-deps set? Something like

```clojure
(defproject cascalog/cascalog "1.8.4"
:dependencies [...elided...]
:dev-dependencies [[swank-clojure "1.4.0-SNAPSHOT"]
[org.apache.hadoop/hadoop-core "0.20.2-dev"]
[lein-multi "1.1.0-SNAPSHOT"]]
:multi-deps {:default [[cascading/cascading-core "1.2.4"
:exclusions [org.codehaus.janino/janino
thirdparty/jgrapht-jdk1.6
riffle/riffle]]
[thirdparty/jgrapht-jdk1.6 "0.8.1"]
[riffle/riffle "0.1-dev"]
[log4j/log4j "1.2.16"]
[hadoop-util "0.2.4"]]
"1.2.0" [[org.clojure/clojure "1.2.0"]]
"1.2.1" [[org.clojure/clojure "1.2.1"]]
"1.4.0" [[org.clojure/clojure "1.4.0-alpha5"]]})
```

Thanks!
Sam