Skip to content

How_to_release

Johan Haleby edited this page Apr 17, 2026 · 13 revisions
  1. Update the change log indicating the date of the release
  2. Switch to Java 8
  3. Run ./mvn_release.sh and follow the instructions.
    • If build fails because of missing dependencies do:
      1. mvn install -Prelease -DskipTests=true
      2. mvn release:prepare -Prelease -Dresume
      3. mvn release:perform -Prelease
      • Or just do: mvn install -Prelease -DskipTests=true && mvn release:prepare -Prelease -Dresume && mvn release:perform -Prelease
  4. The test-only modules are excluded from Sonatype deployment automatically, so they do not need to be removed manually before release.
  5. Generate javadoc by running the ./generate_javadoc.sh script and enter the version to release
  6. Update the wiki by running the ./update_wiki.sh script and enter the previous version and the new version to release. This will clone the wiki from GitHub and replace old version to new version on all pages. Afterwards you have the script offers you to commit and push the changes. If you want to avoid having to enter the github username and password each time see this page.
  7. Update the README.md file to indicate that a new version was released
  8. Send a message to the mailing-list and twitter announcing the new release.

The release is automatically synced to Maven central (the sync process runs hourly).

Clone this wiki locally