logo BV Customized Version of Mojo's Cassandra Maven Plugin

The Mojo Projects plugin for Apache Maven to allow launching a local Apache Cassandra instance from a Maven build. Customized by Bazaarvoice to allow the cql-exec goal to be more easily skipped if the desired keyspace is already present.

fresh index:
last release: 2 months ago, first release: 5 years ago
packaging: maven-plugin
get this artifact from: central
see this artifact on: search.maven.org

Display vulnerabilities (snyk): Vulnerability check

This chart shows how much is this artifact used as a dependency in other Maven artifacts in Central repository and GitHub:

select version:

Add this snippet into pom.xml inside tag <project><build><plugins>:

Switch to artifact.

Runs {@code nodetool cleanup} on a Cassandra instance.


Runs {@code nodetool compact} on a Cassandra instance.

cassandra:cql-exec (phase: pre-integration-test)

Executes cql statements from maven.

cassandra:cu-load (phase: pre-integration-test)

Loads a CassandraUnit DataSet into a Cassandra instance.


Deletes the Cassandra home directory that we create for running Cassandra.


Runs {@code nodetool flush} on a Cassandra instance.

cassandra:load (phase: pre-integration-test)

Loads a Cassandra CQL script into a Cassandra instance.


Runs {@code nodetool repair} on a Cassandra instance.


Runs Cassandra in the foreground.

cassandra:start (phase: pre-integration-test)

Starts a Cassandra instance in the background.

cassandra:start-cluster (phase: pre-integration-test)

Starts a Cassandra instance in the background.

cassandra:stop (phase: post-integration-test)

Stops a background Cassandra instance.

cassandra:stop-cluster (phase: post-integration-test)

Stops a background Cassandra instance.

© Jiri Pinkas 2015 - 2021. All rights reserved! Admin login To submit bugs / feature requests please use this github page
related: JavaVids | Top Java Blogs | Java školení
Apache and Apache Maven are trademarks of the Apache Software Foundation. The Central Repository is a service mark of Sonatype, Inc.