Skip to content
Enrico Olivelli edited this page May 11, 2021 · 3 revisions

Developer resources

Release process

In order to cut a release please follow these guidelines:

  • ensure that tests are passing: mvn clean install
  • when you run the build the code is auto formatted, please verify with 'git status' that after the build no file is changed, otherwise commit the formatted code
  • ensure to have Maven OSSRH credentials configured on your settings.xml file
  • ensure you have properly configured a GPG private key, for git and for Maven

Commands:

Create a signed tag and update project version:

mvn release:prepare -DautoVersionSubmodules -Darguments=-DskipTests

Stage the release to Maven Central (OSSRH) repository:

mvn release:perform -DreleaseProfiles=release -Darguments=-DskipTests

  • this command MUST be executed right after "release:prepare", on the same directory, because it uses temporary files created but the previous command
  • you will be prompted for your GPG password
Clone this wiki locally