To create your own Mac M1 / ARM64 / AArch64 akka-persistence-cassandra cassandra-bundle.jar
file
git clone git@github.com:akka/akka-persistence-cassandra.git
- Make sure you're using Java 8 (tested with
8.0.345-librca
and Azul Zulu 8) - Open
akka-persistence-cassandra
in IntelliJ and check the Java version under File > Project Structure > Project Settings > Project. Make sure the SDK is set to the Java 8 version from step 2. - Add
dependencyOverrides += "net.java.dev.jna" % "jna" % "5.12.1"
to thecassandraBundle
project in thebuild.sbt
ofakka-persistence-cassandra
sbt cassandraBundle/assembly
to createcassandra-bundle/target/bundle/akka.persistence.cassandra.launcher/cassandra-bundle.jar
(you might have to comment out a few broken test suites to get this to run)- Check your work by running the
CassandraLauncherSpec
inakka-persistence-cassandra
- Now you can use your
cassandra-bundle.jar
to run theCassandraLauncher
in third-party projects, like this one!