Just tried to lein deploy clojars
and it would complain like so:
Created /Users/alex/dev/clojure/pdfboxing/target/pdfboxing-0.1.15.1-SNAPSHOT.jar
Wrote /Users/alex/dev/clojure/pdfboxing/pom.xml
Could not find metadata pdfboxing:pdfboxing:0.1.15.1-SNAPSHOT/maven-metadata.xml in clojars (<https://repo.clojars.org/>)
Sending pdfboxing/pdfboxing/0.1.15.1-SNAPSHOT/pdfboxing-0.1.15.1-20200904.152655-1.jar (10k)
to <https://repo.clojars.org/>
Could not transfer artifact pdfboxing:pdfboxing:jar:0.1.15.1-20200904.152655-1 from/to clojars (<https://repo.clojars.org/>): Failed to transfer file <https://repo.clojars.org/pdfboxing/pdfboxing/0.1.15.1-SNAPSHOT/pdfboxing-0.1.15.1-20200904.152655-1.jar> with status code 401
Sending pdfboxing/pdfboxing/0.1.15.1-SNAPSHOT/pdfboxing-0.1.15.1-20200904.152655-1.pom (3k)
to <https://repo.clojars.org/>
Could not transfer artifact pdfboxing:pdfboxing:pom:0.1.15.1-20200904.152655-1 from/to clojars (<https://repo.clojars.org/>): Failed to transfer file <https://repo.clojars.org/pdfboxing/pdfboxing/0.1.15.1-SNAPSHOT/pdfboxing-0.1.15.1-20200904.152655-1.pom> with status code 401
Failed to deploy artifacts: Could not transfer artifact pdfboxing:pdfboxing:jar:0.1.15.1-20200904.152655-1 from/to clojars (<https://repo.clojars.org/>): Failed to transfer file <https://repo.clojars.org/pdfboxing/pdfboxing/0.1.15.1-SNAPSHOT/pdfboxing-0.1.15.1-20200904.152655-1.jar> with status code 401
But then I created a deploy token
and used that instead of my Clojars password, and it worked without a glitch.It should have detected you were not using a token and given you a message that a token is now required. I'll take a look and see if I can figure out why it didn't. Thanks for the report!
Just as a thank you: I deployed something recently and clojars gave me the prompt to stop using my password and it was really useful. Thank you!
My pleasure!