Skip to content
Libor Ryšavý edited this page Mar 13, 2022 · 1 revision

Prerequisites:

  • You need to be added in the group "net.jadler" in the Sonatype project - see the guide.
  • You need push right in the git repository.

Release:

  1. check that everything you want to release is pushed in the master branch: https://github.com/jadler-mocking/jadler/commits/master

  2. decide the right version (use semantic versioning scheme)

  3. use mvn release:prepare to push release commits

  4. use mvn release:perform to upload artefacts to Sonatype

    • In case there are some problems uploading to Sonatype, check status page. If staging repository operations are timing out from cmdline, one can kill mvn task after it uploads artefacts to staging repo and then close and/or release it in the web UI.
  5. close (and rename if necessary) current milestone (and create new one named "next")

  6. create a new release

  7. wait for Maven Central sync

Clone this wiki locally