On MacOS and Linux, run the following commands:
mvn clean package
unzip -u jjava-distro/target/jjava-*-kernelspec.zip -d jjava-distro/target/unzip ; \
jupyter kernelspec remove -y java ; \
jupyter kernelspec install jjava-distro/target/unzip --name=java --userYou will need a JDK >= 11 and proper credentials for the sonatype-central repository
(see docs)
Two submodules of this project have different release strategies:
JJava Kernelassembly is released using GitHub releasesjupyter-jvm-basekenelmodule is released on Maven Central using the oss.sonatype.org repo
Still everything is done through a single set of Maven commands:
# mvn release:clean
mvn release:prepare -Prelease
mvn release:perform -PreleaseGo to https://central.sonatype.com/publishing and manually publish created bundle.
Go to GitHub Releases to manually edit the created draft and publish it.