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 "git@github.com: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 "<https://repo1.maven.org/maven2/>"}
"clojars" {:url "<https://repo.clojars.org/>"}}
I thought both of these were used by default :thinking_face:They are. Itβs possible changing the file just affected the staleness check and forced a cache recompute
If you remove those, does it still work?
I does not, unfortunately! π
> Execution error (ArtifactNotFoundException) at org.eclipse.aether.internal.impl.DefaultArtifactResolver/resolve (DefaultArtifactResolver.java:414).
> Could not find artifact org.apache:apache:pom:21
I'm on Clojure CLI version 1.10.3.855
btw
Iβll look at it in a little bit then
Might have to do with it being a pom dep
Thanks! Let me know how I can help π