I wrote a Clojure project using Leiningen and would now like to add the resulting jar to a Sonatype Nexus server. I installed lein-clojars, since this comes with a push
command that seems to accept an optional repo
arg if you would like to push somewhere besides Clojars. However, whenever I try this, I get a JSchException: Auth fail
. It seems to indicate that there is an authentication problem somewhere.
I am able to scp the jar to Nexus, and I am also able to use this same settings.xml with Maven to upload to this machine, so I'm fairly confident these are both correct.
Is there any good way to use Leiningen to push to other repositories? Or is it really only built for Clojars?