using lein, trying to do a fresh install for a clojurescript project on a new computer.
lein deps tries to find:
google-closure-library\0.0-20230227-c7c0a541
but this is not available on maven and I get an error.
I can find v20230228 in maven (a day later!) and a “third party” one
org.clojure/google-closure-library-third-party “0.0-20230227-c7c0a541”
How can I get leiningen to force reference the right closure compiler and not download the missing one please? (I can of course manually paste into my .m2 folder but it feels like the wrong thing to do!)
Retrieving com/google/javascript/closure-compiler-unshaded/v20220502/closure-compiler-unshaded-v20220502.pom from central
Retrieving com/google/javascript/closure-compiler-main/v20220502/closure-compiler-main-v20220502.pom from central
Retrieving com/google/javascript/closure-compiler-parent/v20220502/closure-compiler-parent-v20220502.pom from central
Retrieving com/google/javascript/closure-compiler-unshaded/v20220502/closure-compiler-unshaded-v20220502.jar from central
Retrieving org/clojure/google-closure-library/0.0-20230227-c7c0a541/google-closure-library-0.0-20230227-c7c0a541.jar from central
Could not transfer artifact org.clojure:google-closure-library:jar:0.0-20230227-c7c0a541 from/to central (
https://repo1.maven.org/maven2/):
GET request of: org/clojure/google-closure-library/0.0-20230227-c7c0a541/google-closure-library-0.0-20230227-c7c0a541.jar from central failed
Could not find artifact org.clojure:google-closure-library:jar:0.0-20230227-c7c0a541 in clojars (
https://repo.clojars.org/)
This could be due to a typo in :dependencies, file system permissions, or network issues.
Correct, that does exist. It is however an entirely different artifact and the versions aren’t related much. Entirely coincidental that there happens to be a release with a date a day later.
Turns out the office firewall decided to specifically identify Google closure as a threat (and not other clojars or maven packages…) thanks all for your help