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.
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).
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'
Create the settings.xml
in the $HOME/.m2/
directory as described in their instructions.