Hi,
We’re working with Cassandra in a project,
And I’m trying to use cassandra-migration library for migrations using CQL files.
I couldn’t understand how I run the migrations from command line.
I created a pom.xml
with dependency to cassandra-migration.
And a db/migrations
folder with one CQL file.
Then I run mvn install
And java -jar \ -Dcassandra.migration.keyspace.name=audit \ target/cassandra-migration-1.0.jar migrate
But I get:
no main manifest attribute, in target/cassandra-migration-1.0.jar
Is there someone who can help me get it running?
Thanks a lot!