cljdoc icon indicating copy to clipboard operation
cljdoc copied to clipboard

Run analysis failed for zero.one/geni

Open anthony-khong opened this issue 5 years ago • 1 comments

Here's the failed job:

https://app.circleci.com/pipelines/github/cljdoc/builder/8138/workflows/ecc92520-4684-4131-9c2e-c0300101860c/jobs/24515

Specifically it says "Could not find artifact com.github.fommil.netlib:all:jar:1.1.2", but the build works locally and on Github actions. The project.clj can be found here: https://github.com/zero-one-group/geni/blob/develop/project.clj. I suspect it is due to [com.github.fommil.netlib/all "1.1.2" :extension "pom"]? How can I solve the error?

Any help would be greatly appreciated! Thanks!

anthony-khong avatar Jul 26 '20 15:07 anthony-khong

I think your guess is correct @anthony-khong.

The cljdoc analyzer uses clojure tools.deps to resolve dependencies which does not support maven bill of materials dependencies.

The normal work-around, should you want to try it, is to specify the individual dependencies in com.github.fommil.netlib/all one by one.

But... this bom includes natives and I'm thinking that won't work with tools.deps either.

Hmm...

lread avatar Sep 12 '20 02:09 lread

Here's the clojure tools deps issue on supporting boms. You can add your vote for this feature here.

I expect the Clojure core team might get to it someday and we'll pick up their fix.

Please feel free to re-open this issue you if see any reason to.

lread avatar Aug 31 '22 00:08 lread