tweag/inline-java

Prepare jvm-batching.jar to be released in maven central

Closed this issue · 3 comments

The jvm-batching package offers some java interfaces that need to be public.

We could just refer people to the inline-java github repo to build the jar, but probably it is going to be easier to manage the Java dependencies if we upload the package to maven central.

We need to write the metadata and the instructions to build and upload the jar.

This ticket comes from the discussion in #10.

Considering we already use Gradle to generate the jar and the javadoc, I suggest we also use this Gradle plugin, which seems to produce everything we need

Here is some documentation about the process of releasing in Maven Central.

It seems inline-java is categorized under "Other Projects", which means we have to use the OSSRH, which includes at least:

  • Creating an account on the Sonatype JIRA
  • Claiming io.tweag as our namespace
  • Uploading a public key to check the signature of the artefacts we publish

Besides merging the existing PR, we won't advance this initiative further. We would be relying on bazel to deal with java dependencies.