I'm trying to use Astyanax in a Clojure project. I added the following snippet to project.clj file:
:dependencies [ [org.clojure/clojure "1.4.0"]
[com.netflix.astyanax/astyanax-cassandra "1.56.31"] ]
Could not find artifact org.apache.cassandra:cassandra-thrift:jar:1.2+ in central (http://repo1.maven.org/maven2/)
Could not find artifact org.apache.cassandra:cassandra-thrift:jar:1.2+ in clojars (https://clojars.org/repo/)
Could not find artifact org.apache.cassandra:cassandra-all:jar:1.2.+ in central (http://repo1.maven.org/maven2/)
Could not find artifact org.apache.cassandra:cassandra-all:jar:1.2.+ in clojars (https://clojars.org/repo/)
This could be due to a typo in :dependencies or network issues. Could not resolve dependencies
astyanax-cassandra 1.56.31 has a bad dependency on cassandra. It's using an Ivy style dependency instead of a Maven one. It should use a static version number and not a variable one.
Ok, How to fix that in my case?
Astyanax will have to be re-released.
I see. Should I close the ticket?
Let's keep this open for now We need to fix our internal dependencies for this to work both for our internal and oss builds.
As a temp workaround you can manually modify Astyanax POM files in your .m2 repository
I've followed the workaround. Btw what is the latest version of astyanax that does not have this problem?
Please, fix this - it's not possible to use new versions of Astyanax.
Fixed in 1.65.34