Apache Cassandra in-JVM DTest API

Clone this repo:
  1. b9640c8 [maven-release-plugin] prepare for next development iteration by Dinesh Joshi · 10 months ago trunk
  2. 1ba6ef9 [maven-release-plugin] prepare release 0.0.16 by Dinesh Joshi · 10 months ago 0.0.16
  3. f3a3b98 CASSANDRA-18727 - JMXUtil.getJmxConnector should retry connection attempts (#37) by Doug Rohrer · 11 months ago
  4. 695ef5e [maven-release-plugin] prepare for next development iteration by Dinesh Joshi · 1 year, 1 month ago
  5. 48af78d [maven-release-plugin] prepare release 0.0.15 by Dinesh Joshi · 1 year, 1 month ago 0.0.15

Apache Cassandra in-JVM DTest API

Shared API package for in-JVM distributed tests.

Publishing snapshot

mvn versions:set -DnewVersion=`xpath -n -q -e '/project/version/text()' pom.xml | awk -F- '{print $1}'`-`git rev-parse --short HEAD`-SNAPSHOT
mvn deploy

Releasing

  1. Prepare the release:
mvn release:clean
CURRENT=0.0.CURRENT
NEXT_DEV=0.0.NEXT
mvn -DreleaseVersion=$CURRENT -Dtag=$CURRENT -DdevelopmentVersion=$NEXT_DEV-SNAPSHOT release:prepare
mvn release:perform
  1. Close staging repository: https://repository.apache.org/#stagingRepositories

  2. Issue a vote on developers mailing list. Add your GPG key signature, release SHA, and staged artifacts to release information.

Additional resources:

Parent pom location: https://maven.apache.org/pom/asf/ Maven distribution docs: http://www.apache.org/dev/publishing-maven-artifacts.html Creating a new reposotory: https://selfserve.apache.org/

GPG Key

To generate key, run:

gpg --full-gen-key

To be able to sign releases with this key, make sure your key is:

gpg --list-sigs "<YOUR_NAME>"
gpg --verbose --send-keys --keyserver hkps://hkps.pool.sks-keyservers.net <YOUR_KEY_IDENTIFIER_HERE>
# to test if it has worked:
gpg --verbose --recv-keys --keyserver hkps://hkps.pool.sks-keyservers.net <YOUR_KEY_IDENTIFIER_HERE>
  • added to KEYS file
svn co --depth files https://dist.apache.org/repos/dist/release/cassandra/ release
(gpg --list-sigs "<YOUR_NAME>" && gpg --armor --export "<YOUR_NAME>") >> KEYS
svn commit KEYS -m "Add <YOUR NAME>'s key for releases" # or ask some PMC to do this for you by opening CASSANDRA jira, like this one: https://issues.apache.org/jira/browse/CASSANDRA-15534