Skip to content
This repository has been archived by the owner on Feb 3, 2023. It is now read-only.

Release to Maven Central

Florent Biville edited this page Dec 29, 2017 · 13 revisions

Prerequisites

GPG

Setup

Follow this tutorial.

Troubleshooting

SSH

Make sure you created an SSH key and added it to your Github account (see https://help.github.com/articles/adding-a-new-ssh-key-to-your-github-account/).

OSSRH/Maven settings

Make sure your OSSRH JIRA account is properly set up in ~/.m2/settings.xml (see https://github.com/liquigraph/liquigraph/blob/master/deploy-settings.xml).

Release

Just run:

  1. mvn release:prepare -Prelease-sign-artifacts (SCM label is liquigraph-$VERSION NOT the default one!) and
  2. mvn release:perform -Prelease-sign-artifacts
  3. then go to https://oss.sonatype.org/ and validate the release
Clone this wiki locally