Skip to content

Unable to get Astyanax dependency from project.clj #237

Closed
hussein opened this Issue Mar 15, 2013 · 9 comments

6 participants

@hussein
hussein commented Mar 15, 2013

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-core "1.56.31"]
[com.netflix.astyanax/astyanax-thrift "1.56.31"]
[com.netflix.astyanax/astyanax-cassandra "1.56.31"] ]
But when:

lein deps

I get

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

Any ideas?

@quidryan
Netflix, Inc. member

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.

@hussein
hussein commented Mar 15, 2013

Ok, How to fix that in my case?

@quidryan
Netflix, Inc. member

Astyanax will have to be re-released.

@hussein
hussein commented Mar 15, 2013

I see. Should I close the ticket?

@elandau
Netflix, Inc. member
elandau commented Mar 19, 2013

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.

@FuadEfendi

As a temp workaround you can manually modify Astyanax POM files in your .m2 repository

@ranban282

I've followed the workaround. Btw what is the latest version of astyanax that does not have this problem?

@ash2k
ash2k commented Mar 29, 2013

Please, fix this - it's not possible to use new versions of Astyanax.

@elandau
Netflix, Inc. member
elandau commented Mar 30, 2013

Fixed in 1.65.34

@elandau elandau closed this Mar 30, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.