diff --git a/src/leiningen/jar.clj b/src/leiningen/jar.clj index 56801cde..65559465 100644 --- a/src/leiningen/jar.clj +++ b/src/leiningen/jar.clj @@ -171,6 +171,9 @@ (when (and (:resources-path project) (.exists (file (:resources-path project)))) [{:type :path :path (:resources-path project)}]) + (when (and (:java-source-path project) + (not (:omit-source project))) + [{:type :path :path (:java-source-path project)}]) (when-not (:omit-source project) [{:type :path :path (:source-path project)}]) (shell-wrapper-filespecs project deps-fileset)))