/zkclient

a zookeeper client, that makes life a little easier.

Primary LanguageJavaApache License 2.0Apache-2.0

ZkClient: a zookeeper client, that makes life a little easier.

Build ZkClient from sources:

Howto release ZkClient as maven artifact

  • sonatype repository is already configured: https://issues.sonatype.org/browse/OSSRH-4783
  • generate gpg key and publish it to hkp://pool.sks-keyservers.net (https://docs.sonatype.org/display/Repository/How+To+Generate+PGP+Signatures+With+Maven may be of help)
  • tell gradle about the gpg key and sonatype credentials, e.g. through ~/.gradle/gradle.properties: sonatypeUsername= sonatypePassword= signing.keyId= signing.password= signing.secretKeyRingFile=/Users//.gnupg/secring.gpg
  • set version in build.gradle to the release version and commit
  • execute gradle clean uploadArchives to uploaded the signed artifacts to the sonatype repository
  • go to https://oss.sonatype.org/index.html#stagingRepositories and close the repository
  • check the artifacts and if everything is ok, release the repository (on the same page)
  • syncing to central maven repository will then be activated (might take around 2h)
  • tag with git tag -a
  • set version in build.gradle to the next dev version and commit