- fetch necessary information from here
- add private key file to the project root named as
sonatype_emartech_gpg_private.key
- set required environment variables
cp .env.example .env
- update passphrase
- update package version
make bundle
- Log in to Nexus with these credentials
- Upload
bundle.jar
at staging upload- change upload mode to "Artifact Bundle"
- select
bundle.jar
in the "Select Bundle to Upload" dialogue - click "Upload Bundle"
- Release new bundle
- go to staging repositories
- wait a bit until the "release" button becomes available
- press release on the staging repo created for the bundle
- wait until is it automatically deployed to maven central (it can take up to 2 hours to appear in MC)