Closed arichiardi closed 5 years ago
I'd need to see your :deploy
alias, but my suspicion would be that you should run something like:
$ clojure -A:deploy
and have the rest of the stuff handled by your :deploy
alias?
Yeah it seems I thought I could pass additional options but the -m
tricked me up.
After fixing it I receive:
Deploying unbroken-promises/unbroken-promises-0.1.1 to clojars as nil
Exception in thread "main" java.lang.IllegalArgumentException: No value supplied for key: {:artifact-map {[:extension "pom" :classifier nil] "pom.xml", [:extension "jar" :classifier nil] "unbroken-promises.jar", [:extension "xml.asc" :classifier nil] "pom.xml.asc", [:extension "jar.asc" :classifier nil] "unbroken-promises.jar.asc"}, :repository {"clojars" {:url "https://clojars.org/repo", :username nil, :password nil}}, :coordinates [unbroken-promises/unbroken-promises "0.1.1"]}
at clojure.lang.PersistentHashMap.create(PersistentHashMap.java:77)
at cemerick.pomegranate.aether$deploy.invokeStatic(aether.clj:391)
at cemerick.pomegranate.aether$deploy.doInvoke(aether.clj:391)
at clojure.lang.RestFn.invoke(RestFn.java:408)
at deps_deploy.deps_deploy$eval1648$fn__1650.invoke(deps_deploy.clj:72)
at clojure.lang.MultiFn.invoke(MultiFn.java:229)
at deps_deploy.deps_deploy$_main.invokeStatic(deps_deploy.clj:85)
at deps_deploy.deps_deploy$_main.doInvoke(deps_deploy.clj:83)
at clojure.lang.RestFn.applyTo(RestFn.java:142)
at clojure.lang.Var.applyTo(Var.java:705)
at clojure.core$apply.invokeStatic(core.clj:665)
at clojure.main$main_opt.invokeStatic(main.clj:491)
at clojure.main$main_opt.invoke(main.clj:487)
at clojure.main$main.invokeStatic(main.clj:598)
at clojure.main$main.doInvoke(main.clj:561)
at clojure.lang.RestFn.applyTo(RestFn.java:137)
at clojure.lang.Var.applyTo(Var.java:705)
at clojure.main.main(main.java:37)
Sorry for the churn I might be having a slow day here as well :smile:
hmm, have you run
$ clj -Spom
before deploying? An alternative to this would be to look into https://github.com/workframers/garamond
I think I did, the project is here btw: https://github.com/arichiardi/unbroken-promises
I reproduced it. Hang on.
you might have forgot set your Clojars username/passwd?
env CLOJARS_USERNAME=username CLOJARS_PASSWORD=password clj -a:deploy
oh ok, let me try that
Hi :smile:
So now that I have the gpg setup going, with the following:
I receive: