clojars

http://clojars.org discussion and “support”, see http://status.clojars.org for status.
Ludger Solbach 2020-07-29T18:28:17.054700Z

I'd like to deploy a jar on clojars under the groupId "org.soulspace.clj" but I get an Access denied/Forbidden. http://soulspace.org is my personal domain.

Ludger Solbach 2020-07-29T18:30:19.056400Z

Is there something I've overlooked? I can't find a "create group" or so in the clojars dashboard.

2020-07-29T18:31:34.057700Z

Groups are created/claimed when you make the first to them, so there is no explicit create step. I don't see that group in clojars, so something else may be going on. Are you using a deploy token? Can you paste the full output from your deploy attempt?

Ludger Solbach 2020-07-29T18:34:21.057900Z

Yes

Ludger Solbach 2020-07-29T18:34:39.058100Z

soulman@neptun:/devel/git/CljBase/clj.base$ /devel/lein deploy clojars No credentials found for clojars See lein help deploying for how to configure credentials to avoid prompts. Username: lsolbach Password: Created /home/soulman/devel/git/CljBase/clj.base/target/clj.base-0.8.1.jar Wrote /home/soulman/devel/git/CljBase/clj.base/pom.xml Sending org/soulspace/clj/clj.base/0.8.1/clj.base-0.8.1.jar (16k) to https://clojars.org/ Could not transfer artifact org.soulspace.clj:clj.base:jar:0.8.1 from/to clojars (https://clojars.org): Access denied to: https://clojars.org/org/soulspace/clj/clj.base/0.8.1/clj.base-0.8.1.jar, ReasonPhrase: Forbidden. Sending org/soulspace/clj/clj.base/0.8.1/clj.base-0.8.1.pom (2k) to https://clojars.org/ Could not transfer artifact org.soulspace.clj:clj.base:pom:0.8.1 from/to clojars (https://clojars.org): Access denied to: https://clojars.org/org/soulspace/clj/clj.base/0.8.1/clj.base-0.8.1.pom, ReasonPhrase: Forbidden. Failed to deploy artifacts: Could not transfer artifact org.soulspace.clj:clj.base:jar:0.8.1 from/to clojars (https://clojars.org): Access denied to: https://clojars.org/org/soulspace/clj/clj.base/0.8.1/clj.base-0.8.1.jar, ReasonPhrase: Forbidden.

2020-07-29T18:37:26.059500Z

Do you have custom configuration in your project.clj overriding the clojars url? It should be https://repo.clojars.org or https://clojars.org/repo/, but it looks like your requests are going to https://clojars.org

Ludger Solbach 2020-07-29T18:39:31.059900Z

I'v added :deploy-repositories [["clojars" {:sign-releases false :url "https://clojars.org"}]])

2020-07-29T18:40:29.060700Z

Change that to :deploy-repositories [["clojars" {:sign-releases false :url "<https://clojars.org/repo>"}]]

Ludger Solbach 2020-07-29T18:41:54.061200Z

That worked. 🙂

2020-07-29T18:42:01.061600Z

Great!

Ludger Solbach 2020-07-29T18:42:03.061800Z

Thanks alot

2020-07-29T18:42:17.062Z

My pleasure!

Ludger Solbach 2020-07-29T18:42:39.062400Z

My first jar on clojars 😄

2020-07-29T18:43:54.062600Z

sweet!