Publishing to maven isn't a hard process, but its tedious to set-up some aspects of it when doing it manually. I use JReleaser to offload most of the work and also orchestrate publishing the release to github at the same time. Once its working in one place its more or less a copy paste job to get it working on any other project.
I've fiddled around with using it in a few ways, which include:
- Gradle
- Maven
jreleaser.ymlfor single-module projectjreleaser.ymlfor multi-module project (github release artifacts not attaching for some unknown reason)