Skip to content

Latest commit

 

History

History
27 lines (17 loc) · 1.27 KB

java-packages.md

File metadata and controls

27 lines (17 loc) · 1.27 KB

Java Packages

We publish binary packages for our JDBC driver and Java client on Maven Central.

To do so, we use the http://oss.sonatype.org/ repository. New packages must be uploaded there ("deployed") and will be automatically published ("released"). Once they are released there, they will be automatically synchronized with Maven Central. The synchronization takes only several minutes, but the update on http://search.maven.org may take up to two hours.

Access to oss.sonatype.org

Sign up here. Then you must be added as member to our io.vitess namespace. Therefore, file a JIRA ticket with Sonatype to get added (example for a different namespace).

One-time setup

Set up GPG

Follow Sonatype's GPG instructions.

Install gpg-agent (needed below) e.g. on Ubuntu via: sudo apt-get install gnupg-agent. for Mac you need to install 'gnupg' via 'brew install gnupg'

Login configuration

Create the settings.xml in the $HOME/.m2/ directory as described in their instructions.