Skip to content

sgroschupf/zkclient

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
lib
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 

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

==> see CHANGELOG for recent work

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=$yourSonatypeUser
    • sonatypePassword=$yourSonatypePassword
    • signing.keyId=$yourKeyId
    • signing.password=$yourKeyPassphrase
    • signing.secretKeyRingFile=/Users/$username/.gnupg/secring.gpg
  • set version in build.gradle to the release version (e.g. 0.5-dev to 0.5) and commit
  • update CHANGELOG.markdown
  • upload the signed artifacts to the Sonatype repository
    • gradle clean uploadArchives
  • 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 $releaseVersion -m "Tag for $releaseVersion release"
    • git push --tags
  • set version in build.gradle to the next dev version (e.g 0.5 to 0.6-dev) and commit