Unexpected 'lein jar' failure with invalid :license #853

superbobry opened this Issue Nov 16, 2012 · 0 comments


2 participants

lein jar and lein uberjar fail with a non-descriptive error, when the :license field is invalid:

$ lein uberjar
Uberjar aborting because jar/compilation failed: java.lang.String cannot be cast to clojure.lang.IFn
(defproject test "0.1.0-SNAPSHOT"
  :description "FIXME: write description"
  :url "http://example.com/FIXME"
  :license "FIXME"
  :dependencies [[org.clojure/clojure "1.4.0"]])

I would prefer a message about the :license value being invalid, instead of IFn-something.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment