Skip to content

Commit

Permalink
Fix write-pom-properties to work when outside project dir.
Browse files Browse the repository at this point in the history
  • Loading branch information
technomancy committed Jun 16, 2014
1 parent 10d3b09 commit b749106
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion leiningen-core/src/leiningen/core/eval.clj
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
;; # Preparing for eval-in-project

(defn- write-pom-properties [{:keys [compile-path group name] :as project}]
(when-not (:disable-pom-properties project)
(when (and (:root project) (:write-pom-properties project true))
(let [path (format "%s/META-INF/maven/%s/%s/pom.properties"
compile-path group name)]
(.mkdirs (.getParentFile (io/file path)))
Expand Down

0 comments on commit b749106

Please sign in to comment.