Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build fails due to twitter metrics dependency #209

Open
plofgren opened this issue Dec 30, 2015 · 3 comments
Open

Build fails due to twitter metrics dependency #209

plofgren opened this issue Dec 30, 2015 · 3 comments

Comments

@plofgren
Copy link
Contributor

Is there any update to the issue #180?

I have code which depends on "com.twitter" %% "cassovary-core" % "6.3.0" and when I try to compile it or do sbt update, I get unresolved dependency
com.twitter.common#metrics;0.0.37: not found

I think in the past retrying has worked, but I just tried three times and all tries failed. I also hit this bug a few months ago when I tried to help another PhD student use my code, and I didn't know how to fix the problem then (I think retries eventually worked). Is there a work-around? Which part of cassovary needs finagle-stats, and would make sense to move that out of cassovary-core?

Thanks!

@pankajgupta
Copy link
Contributor

As mentioned in that issue #180 the problem's likely cause is that of intermittently failing maven.twttr.com Another workaround is adding metrics-0.0.37.jar in the managed dependencies of your project.

For now, finagle-stats are actually used inside, but it is indeed the right thing to move them out of the core library. Creating a separate issue to do that.

@bandaot
Copy link

bandaot commented Jan 3, 2016

add

resolvers += "twitter" at "http://maven.twttr.com"

may solve the problem

@plofgren
Copy link
Contributor Author

plofgren commented Jan 5, 2016

Thanks! I ran sbt update on a different day and it worked. If I encounter this again I'll try one of those two workarounds.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants