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

Failed to read artifact descriptor for com.netflix.servo:servo-core:jar:0.4.13 #13

Closed
cfregly opened this issue Jan 25, 2013 · 6 comments

Comments

@cfregly
Copy link

cfregly commented Jan 25, 2013

karthik-

i'm working on an end-to-end reference app that uses a lot of the Netflix OSS components and i'm having trouble integrating the latest build of eureka.

you can find the reference app here, btw: https://github.com/cfregly/refapp

is there any known issue around depending on an older, unreleased version (0.4.13) of servo-core?

to reproduce, just uncomment out the eureka-core dependency in refapp-core/pom.xml and do a maven build.

another piece of info: eureka-client by itself seems to be fine. it's only when either eureka-server, eureka-core, or eureka-resources are introduced.

i tried the latest SNAPSHOT from source and it's giving the same error.

i also tried the usual rm -rf .m2/repository directory, etc.

i wanted to check with you before i spend more time digging into the dependencies.

any guidance would be helpful.

thanks!

-chris

@karthik-vn
Copy link
Contributor

Chris,

There are no known issues with the servo 0.4.13. If you can tell me how exactly I can reproduce the issue (i.e.) the exact steps for doing the maven build, I will try to see why the problem happens.

I just verified that the gradle build for eureka works fine.
Thanks.

@cfregly
Copy link
Author

cfregly commented Jan 26, 2013

i've added build instructions to Refapp's README.md: https://github.com/cfregly/refapp#how-to-build

you'll want to uncomment out eureka-core from the refapp-core/pom.xml before building to reproduce the error.

but i just realized that i only need the eureka-client dependency in my eureka clients (refapp-middletier, in this case). in other words, i don't need the eureka-server, eureka-core, eureka-resources dependencies in my eureka clients - just the eureka-client dependency which works fine.

so unless you want to investigate this non-standard dependency configuration further, we can close this out.

thanks, karthik!

-chris

@cfregly
Copy link
Author

cfregly commented Jan 30, 2013

reopening based on Netflix/ribbon#3

@karthik-vn
Copy link
Contributor

Chris,

I update eureka to use servo 0.4.15. Can you do a build and see if that solves the problem. I will release the latest version to maven central soon.

@cfregly
Copy link
Author

cfregly commented Jan 30, 2013

looks good, karthik. i pulled the latest from source, installed eureka-core-1.1.74-SNAPSHOT.jar to my local maven repo, and re-ran my build and it's successful.

note: in my pom configuration, i'm explicitly declaring servo-core-0.4.32.jar because i need StatsTimer (not available in 0.4.15, apparently).

maven is doing the proper thing and pulling in this later 0.4.32 version versus the older, transitive 0.4.15 version declared in your latest eureka-core-1.1.74-SNAPSHOT.jar.

here's my pom snippet:

    <dependency>      
        <groupId>com.netflix.servo</groupId>
        <artifactId>servo-core</artifactId>
        <version>0.4.32</version>
    </dependency>
    <dependency>      
        <groupId>com.netflix.eureka</groupId>
        <artifactId>eureka-core</artifactId>
        <version>1.1.74-SNAPSHOT</version>
    </dependency>

just an fyi. things look good and i'm unblocked.

@karthik-vn
Copy link
Contributor

Cool- I also release the latest version of eureka.

http://search.maven.org/remotecontent?filepath=com/netflix/eureka/eureka-core/1.1.73/eureka-core-1.1.73.pom

I'm going to close the issue. Please reopen as needed.

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

2 participants