-
-
Save adamstegman/5226664 to your computer and use it in GitHub Desktop.
(defproject melnitz "1.0.0-SNAPSHOT" | |
:description "Sorts the mail (from an Exchange server) and presents it in a dashboard so you can act on it instead of trying to figure out threads on your own." | |
:url "http://github.com/adamstegman/melnitz" | |
:dependencies [[com.edgecase/dieter "0.4.0"] | |
[commons-httpclient/commons-httpclient "3.1"] | |
[commons-logging/commons-logging-api "1.1"] | |
[microsoft.exchange/webservices "1.2"] | |
[org.clojure/clojure "1.4.0"] | |
[org.samba.jcifs/jcifs "1.3.3"] | |
[cheshire "5.0.2"] | |
[clj-yaml "0.4.0"] | |
[compojure "1.1.5"] | |
[fleet "0.10.1"] | |
; dieter dependencies | |
[ring/ring-core "1.1.8"] | |
[clj-time "0.4.4"] | |
[com.google.javascript/closure-compiler "r1592"] | |
[clj-v8 "0.1.4"] | |
[clj-v8-native "0.1.4"] | |
[org.mozilla/rhino "1.7R4"] | |
[org.clojure/clojure "1.4.0"]] | |
:repositories {"project" "file:repo"} | |
:plugins [[lein-ring "0.8.2"]] | |
:ring {:handler melnitz.handler/app} | |
:profiles | |
{:dev {:dependencies [[ring-mock "0.1.3"] | |
[lein-dieter-precompile "0.2.0"]]}}) |
Do I understand it correctly that the issue is with Dieter from master not pulling down its dependencies because it is installed into the local repo (presumably with lein install
)?
If so, I'd recommend pushing your own jar to clojars (say, as adamstegman/dieter
) or using Leiningen checkouts until you can get EdgeCase developers to cut a new release (0.4.0-beta1
).
Another option is to use Leiningen checkouts feature. Both checkouts and artifact publishing are described in the Leiningen tutorial. You will need a clojars.org account, everything else is pretty straightforward (not harder than publishing a gem).
If you go with publishing your own Dieter artifact, please make sure to use your own group name!
Aha, lein install
worked! I wasn't aware of that command. I was using mvn deploy:deploy-file
. This worked and was much easier. Thank you! Now if I can get dieter to return me the correct asset paths, I'll be in business.
Note: I uploaded dieter to my local repository so I could use master instead of the released version, 0.3.0. The transitive dependencies worked fine when pulling from clojars.org, but not when reading the jar locally.