adamko-dev/kotlinx-serialization-typescript-generator

Publish on Maven

abhishiv opened this issue · 4 comments

Hello, it would be great to have this package on maven.

In my case I'm stuck on Maven since am using cloud functions and they require maven pom.xml unless you want to build and upload a jar. All my dependencies including kotlinx.serialization are maven except this packages.

aSemy commented

I'll see what I can do. I did start the process of publishing it to Maven Central, but I got lost in all the varying options.

What happens if you add Jitpack as a repository? The pom.xml should be hosted there. What error are you getting?

Hey @aSemy

Sorry my mistake - I had no idea about Jitpack. Just tried it and it works beautifully!

Thank you for a great module! In all JVM env this is the only module I could find which handles polymorphism and abstract classes sensibly!

aSemy commented

Because of significant deficiencies with the Gradle signing plugin

and Sonatype is very unfriendly in general, especially to non-JVM, non-Maven projects

So at the moment I'm not able to release to Maven Central.

There are some alternatives, but none are really suitable

I might try setting up my own Maven repo... UPDATE nope, that project is not well organised - it's very un-Gradle

aSemy commented

It looks like Maven Central publishing is working now, even if it's janky (I get lots of errors about missing signatures and files, so I have to repetitively publish until the Sonatype Nexus stops complaining).

I would be nice to set up a GitHub action to automate publishing - but that's another ticket.