Skip to content

Latest commit

 

History

History
31 lines (18 loc) · 1.39 KB

RELEASE.md

File metadata and controls

31 lines (18 loc) · 1.39 KB

Release Process

Guide to uploading artifacts to the Central Repository

We use sonatype as repository manager, it's used as the input channel for the Central Repository running the Sonatype Open Source Repository Hosting OSSRH service.

Prerequisites

If you are not familiar with sonatype and/or the maven release process please read the following material:

Release steps

  1. Make sure that pom.xml and build.gradle have the same version number. In the pom.xml file the version should ends with -SNAPSHOT

  2. With the SCM connection configured correctly you can perform a release deployment to OSSRH (Staging) with:

`mvn release:clean release:prepare`

You will have to answer prompts for versions and tags. That will tag and commit a new version into your repository automatically.
  1. Deploy to maven central:
`mvn release:perform`

This execution will deploy to OSSRH and release to the Central Repository in one go.