Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 990129
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T05:54:05+00:00 2026-05-16T05:54:05+00:00

I wrote a Clojure project using Leiningen and would now like to add the

  • 0

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?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T05:54:05+00:00Added an answer on May 16, 2026 at 5:54 am

    A relevant exchange of e-mails happened a short while ago on the Leiningen Google group; see this message by Phil Hagelberg for the answer.

    In short, it is apparently impossible to use DSA keys on the JVM. I’m not sure if/how Maven finds it possible to deal with this, but at any rate, lein-clojars doesn’t. So, you should just stick to scp instead.

    (Incidentally, this also means that lein-clojars is not really recommended for dealing with Clojars either. Also, I’m pretty sure that I’m missing some part of the picture, since apparently it used to work with Clojars. The one thing I am pretty sure about is that Leiningen won’t be much help in pushing to protected repos at this time and that the message I linked to above is as close to an authoritative explanation of why this is that case as anything.)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I would like to write a simple multiplexing server in Clojure (as a sample
In clojure, I would like to write a tail-recursive function that memoizes its intermediate
I wrote a process explorer using C with GUI interface. I want to add
Currently I'm trying to learn Clojure and I would like to write a function
I have recently started out with clojure, and I am using leiningen to create
When you create a Clojure project with leiningen all the *.clj-files are compiled AOT.
I've successfully installed clojure-mode, slime, slime-repl within Emacs. I start a swank server with
In clojure, I would like to write a defn-my macro that creates a function
when loading this project: (defproject incanter 1.0.0-SNAPSHOT :description FIXME: write description :dependencies [[org.clojure/clojure 1.3.0]
I just started playing with Clojure, and I wrote a small script to help

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.