This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2024-02-14
Channels
- # ai (4)
- # babashka (4)
- # beginners (46)
- # biff (5)
- # calva (12)
- # clojure (6)
- # clojure-austin (13)
- # clojure-dev (27)
- # clojure-europe (62)
- # clojure-nl (1)
- # clojure-norway (17)
- # clojure-spec (2)
- # clojure-uk (12)
- # clojurescript (10)
- # cursive (3)
- # datahike (26)
- # datalevin (9)
- # datomic (7)
- # gratitude (4)
- # honeysql (9)
- # hyperfiddle (12)
- # instaparse (2)
- # lsp (65)
- # membrane (7)
- # missionary (2)
- # off-topic (8)
- # polylith (33)
- # portal (7)
- # quil (1)
- # re-frame (4)
- # reagent (18)
- # releases (3)
- # ring (3)
- # spacemacs (2)
- # specter (4)
Greetings. I need help getting a Java library shipped to Maven Central. Hoping to find some help here.
I'll give the background.
I'm in the middle of writing a new programming language called YAMLScript (YS) that basically compiles to Clojure code and uses @borkdude’s SCI to evaluate it.
The YS compiler is written in Clojure.
It's native-image compiled into a binary called ys
, similar to Babashka's bb
.
YS also works as a YAML loader library in many programming languages like Python and Rust.
I native-image compile it to a shared library libyamlscript.so
(LYS) and have written FFI binding libraries in several programming languages.
The latest binding modules are for Java and Clojure.
The Java lib is a JNA binding to LYS and I want to ship it to Maven Central.
The Clojure library uses the Java library as a dependency and I will ship it to Clojars. I have published to Clojars before.
Sorry for the long winded intro. I know there are different ways to do this, but this is what I want for now at least...
My need is figuring out how to ship to Maven Central, and wondering if anyone here could help.
I created an account on http://sonatype.org in July 2022. And I have the publishing group is io.yaml
.
But logging in there today, it looks like they are reorganizing under http://sonatype.com.
Can anyone here point me at some material that would make the act of publishing to Maven Central as painless as possible in 2024?
I redirected him here since clojure authors publish to maven central, so the blame is on me :)
@borkdude also suggested #C0H28NMAS I can try there as well. But if anyone here publishes to maven central and is willing to give me a little help, I'd appreciate it.
I agree that this is not the place for this thread but .. I'm confused if you are asking about shipping the Java lib or Clojure lib Maven Central?
sounds like the Java and if so, surely there are resources for this on the web already?
There are but my main thing is I don't know if I should be using http://sonatype.org or http://sonatype.com
use for .... ?
http://sonatype.com is the web site for the Sonatype company which does Maven stuff (and other stuff), and runs the central repo
https://oss.sonatype.org is the upload repo for Maven central
but if you've already claimed the group, you don't really need the web site, you can use the Maven tooling (or even curl) to upload
I can't seem to login to http://oss.sonatype.org But I did login to http://issues.sonatype.org Also that site says > Sonatype has begun the retirement process for http://issues.sonatype.org. which concerned me
that sounds like the issue site, which is irrelevant for uploads
true. but surely my login creds should work for oss. too
again, still not sure why any of this is relevant
When I read the retirement thing I was wondering if other things were being retired as well. So I asked people here, but to my surprise almost nobody has interacted with maven central
maven central is essential to half the software on the planet, it's not being retired
Can you access this page https://issues.sonatype.org/browse/OSSRH-82422?page=com.atlassian.jira.plugin.system.issuetabpanels%3Aall-tabpanel ?
When I try to login to http://oss.sonatype.org I get > Incorrect username, password or no permission to use the Nexus User Interface. > Try again.Forbidden
Same for login at https://repository.sonatype.org/
But same creds work fine for https://issues.sonatype.org/login.jsp
there is a bunch of text there with links to pages that explain the current status and what you need to do
If you scroll down do you see my account registration?
sorry, I have other things to do ... I think you can figure that out from the stuff that's here
Anyway, knowing that http://sonatype.org is correct and not http://sonatype.com is reassuring.
Sorry to use up your time. It's just frustrating and was hoping to chat with someone who does this all the time...