diff --git a/src/leiningen/jar.clj b/src/leiningen/jar.clj index ea8b6f81..4c75489c 100644 --- a/src/leiningen/jar.clj +++ b/src/leiningen/jar.clj @@ -202,10 +202,10 @@ function in that namespace will be used as the main-class for executable jar." ([project jar-name] (when jar-name (println "WARNING: Using the jar task with an argument is deprecated.")) - (let [status (compile/compile project)] + (let [deps-fileset (deps project) + status (compile/compile project)] (if (zero? status) - (let [jar-path (get-jar-filename project (get-default-jar-name project)) - deps-fileset (deps project)] + (let [jar-path (get-jar-filename project (get-default-jar-name project))] (write-jar project jar-path (filespecs project deps-fileset)) (println "Created" jar-path) jar-path) diff --git a/todo.org b/todo.org index 15bae8fd..b2c27fcd 100644 --- a/todo.org +++ b/todo.org @@ -31,6 +31,7 @@ See also https://github.com/technomancy/leiningen/issues - [X] resources with eval-in-leiningen (#248) - [X] fix :omit-default-repositories wrt central (#211) - [X] deps should run an implicit clean + - [ ] don't let multiple versions of a plugin interfere with each other (#301) - [ ] signed deps for plugins (#247) - [ ] investigate interactive failures with 1.3 (#234) - [ ] recover from errors in repl task (#286)