Greetings. I have made a shared library https://github.com/yaml/yamlscript/releases And written/published binding libraries to it in 5 programming languages so far. The goal is dozens. @delon submitted 2 PRs for a Java binding and a Clojure binding. The Java binding uses JNA and the Clojure binding just deps on the Java binding. I was going to publish the Java binding to Maven Central and the Clojure binding to Clojars. Now I'm thinking to publish both to Clojars. Can I publish Java only packages to Clojars?
BTW, I eventually want to publish the Java to MC but I need to get this done yesterday, and only care about Clojure users at the moment.
Yes, it would be fine to publish the java package to Clojars. Just be aware that any consumers would have to add Clojars as a repo to their project configs, in addition to Maven Central for possibly other stuff.
but clojure tooling would do that automatically, right?
Gotcha. If you publish to clojars now, but MC later, folks may be confused, because they won't see new releases on Clojars. So I would recommend getting it on MC first if possible.
Yes, clojure projects will already depend on Clojars. I was thinking about any pure-java consumers.
right
makes sense
do you publish to MC?
I have in the past, but it has been a while.
I asked around about this and almost nobody except @alexmiller seems to.
I have an old sonatype account but it seems like they are going through some changes right now.
https://github.com/projectodd/shimdandy is the last thing I published to MC I think, but it is maven-based.
nice
I'll give MC one more go, I guess.
Might have some questions for you if you don't mind
Sure thing, I'll answer what I can!