Deploying to OSSRH with sbt - Introduction⚓︎
sbt is a build tool originating from the Scala community and can be used for Scala-based projects as well as Java and other components. By default it is configured to consume components from the Central Repository and it can be configured to publish to OSSRH.
Step by Step⚓︎
The official documentation from the sbt community is detailed and should provide you with all the necessary information.
In addition to the normal setup you can use the sbt-sonatype-plugin for a completely command line-based release process.