Fork me on GitHub
#tools-deps
<
2021-09-17
>
Kira McLean16:09:32

I’m getting a similar error as the one @souenzzo mentioned above, but looks like a different cause:

Error building classpath. Failed to read artifact descriptor for org.clojure:data.json:jar:2.4.0
org.eclipse.aether.resolution.ArtifactDescriptorException: Failed to read artifact descriptor for org.clojure:data.json:jar:2.4.0
In CI only (fetching all deps works locally).. wondering if anyone has any clues about why our CI build wouldn’t be able to access the clojure data.json jar? Anyone else having issues today fetching clojure data.json?

souenzzo16:09:44

Remove .m2 dir//maven cache. Probably an incomplete//corrupee download

Kira McLean16:09:51

I tried that 😕 .. seems to be the only thing the internet recommends as well. Or at least I believe I’ve tried that, if I’m understanding how invalidating the circle CI cache works. I have had issues with it in the past though!

Alex Miller (Clojure team)18:09:59

can you just clj -Sdeps '{:deps {org.clojure/data.json {:mvn/version "2.4.0"}}}' on the CI machine?

Kira McLean19:09:14

Interesting.. that gives > Failed to read artifact descriptor for org.clojure:clojure:jar:1.10.3 maybe there are bigger problems..

Kira McLean19:09:22

but also we’re using circle ci so it’s a new machine every time

Alex Miller (Clojure team)20:09:39

that seems bad, maybe some kind of config error?

2