Fork me on GitHub

Just taking a look @tobyclemson… I think… it seems that cljdoc-analyzer is barfing on managed dependencies, can’t remember if it understands these…

Toby Clemson01:10:41

Hmm, following the docs to run cljdoc locally ( I get an error (regardless of whether I'm pointing at my own library or the one in the docs):

$ docker run --rm \
  --volume "$HOME/.m2:/root/.m2" \
  --volume /tmp/cljdoc:/app/data \
  --entrypoint clojure \
  cljdoc/cljdoc -M:cli ingest \
    --project lread/cljdoc-exerciser \
    --version 1.0.57
Syntax error (FileNotFoundException) compiling at (cljdoc/cli.clj:1:1).
Could not locate cli_matic/core__init.class, cli_matic/core.clj or cli_matic/core.cljc on classpath. Please check that namespaces with dashes use underscores in the Clojure file name.

Full report at:

Toby Clemson01:10:09

@lee Ah ok, thanks for looking into it


Also, cljdoc-analyzer error reporting is pretty awful when it trips on this. Will make an issue to improve that.


Yeah, the cljdoc-analyzer has no understanding of <dependencyManagement> in the pom. So when it later sees a dependency without a version, it just does not expect that and dies.


I kinda sorta remember this coming up before…


Oh yeah, @tobyclemson, here’s an issue that sounds the same as yours: Same symptom and same cause but the issue more focuses on the bad error reporting.