Fork me on GitHub

I have the following deps.edn file:

{:deps    {org.clojure/clojure                  {:mvn/version "1.10.3"}
           org.apache.httpcomponents/httpclient {:mvn/version "4.5.13"}}

 :aliases {:nvd {:extra-deps {lein-nvd/lein-nvd {:git/url "[email protected]:rm-hull/lein-nvd.git"
                                                 :sha "2493010bb61ea1cbd84a8f18ead45fe0ea2a874d"}}
                 :main-opts ["-m" "nvd.task.check"]}}}
If I run clj -M:nvd, I'm getting an error about not being able to find artifact org.apache:apache:pom:21 (I'm including the full report in a conversation thread) If I remove the dependency on org.apache.httpcomponents/httpclient, I get no errors. What could be the issue here? Apologies if it's off-topic 🙂


Huh, it seems to be fixed if I manually add the maven repositories:

:mvn/repos {"central" {:url ""}
             "clojars" {:url ""}}
I thought both of these were used by default :thinking_face:

Alex Miller (Clojure team)12:06:33

They are. It’s possible changing the file just affected the staleness check and forced a cache recompute

Alex Miller (Clojure team)12:06:06

If you remove those, does it still work?


I does not, unfortunately! 😞 > Execution error (ArtifactNotFoundException) at org.eclipse.aether.internal.impl.DefaultArtifactResolver/resolve ( > Could not find artifact org.apache:apache:pom:21 I'm on Clojure CLI version btw

Alex Miller (Clojure team)12:06:21

I’ll look at it in a little bit then

Alex Miller (Clojure team)12:06:44

Might have to do with it being a pom dep


Thanks! Let me know how I can help 🙂