lein uberjar fails to download dependencies: Socket closed
marcelloromani opened this issue · 2 comments
marcelloromani commented
Downloaded and unpacked code-maat
release 1.0.1
Installed lein
with:
$ brew install leiningen
Lein version that got installed:
$ lein --version
Leiningen 2.8.3 on Java 1.8.0_202-ea Java HotSpot(TM) 64-Bit Server VM
Launched
lein uberjar
Result:
$ lein uberjar
[...]
Retrieving com/github/rwl/AMDJ/1.0.1/AMDJ-1.0.1.jar from central
Retrieving org/clojure/data.csv/0.1.2/data.csv-0.1.2.jar from central
Retrieving joda-time/joda-time/2.6/joda-time-2.6.jar from central
Retrieving org/clojure/math.numeric-tower/0.0.4/math.numeric-tower-0.0.4.jar from central
Could not transfer artifact org.clojure:math.combinatorics:jar:0.1.1 from/to central (https://repo1.maven.org/maven2/): Socket closed
Could not transfer artifact org.clojure:math.combinatorics:jar:0.1.1 from/to clojars (https://repo.clojars.org/): Socket closed
Could not transfer artifact org.clojure:clojurescript:jar:1.9.493 from/to central (https://repo1.maven.org/maven2/): Socket closed
Could not find artifact org.clojure:clojurescript:jar:1.9.493 in clojars (https://repo.clojars.org/)
Could not transfer artifact com.google.javascript:closure-compiler-unshaded:jar:v20170218 from/to central (https://repo1.maven.org/maven2/): Socket closed
Could not find artifact com.google.javascript:closure-compiler-unshaded:jar:v20170218 in clojars (https://repo.clojars.org/)
Could not transfer artifact com.google.javascript:closure-compiler-externs:jar:v20170218 from/to central (https://repo1.maven.org/maven2/): Socket closed
Could not find artifact com.google.javascript:closure-compiler-externs:jar:v20170218 in clojars (https://repo.clojars.org/)
Could not transfer artifact args4j:args4j:jar:2.33 from/to central (https://repo1.maven.org/maven2/): Socket closed
Could not find artifact args4j:args4j:jar:2.33 in clojars (https://repo.clojars.org/)
Could not transfer artifact com.google.protobuf:protobuf-java:jar:3.0.2 from/to central (https://repo1.maven.org/maven2/): Socket closed
Could not transfer artifact com.google.protobuf:protobuf-java:jar:3.0.2 from/to clojars (https://repo.clojars.org/): Socket closed
Could not transfer artifact com.google.code.findbugs:jsr305:jar:3.0.1 from/to central (https://repo1.maven.org/maven2/): Socket closed
Could not transfer artifact com.google.code.findbugs:jsr305:jar:3.0.1 from/to clojars (https://repo.clojars.org/): Socket closed
Could not transfer artifact com.google.jsinterop:jsinterop-annotations:jar:1.0.0 from/to central (https://repo1.maven.org/maven2/): Socket closed
Could not transfer artifact com.google.jsinterop:jsinterop-annotations:jar:1.0.0 from/to clojars (https://repo.clojars.org/): Socket closed
Could not transfer artifact org.clojure:google-closure-library:jar:0.0-20160609-f42b4a24 from/to central (https://repo1.maven.org/maven2/): Socket closed
Could not transfer artifact org.clojure:google-closure-library:jar:0.0-20160609-f42b4a24 from/to clojars (https://repo.clojars.org/): Socket closed
Could not transfer artifact org.clojure:google-closure-library-third-party:jar:0.0-20160609-f42b4a24 from/to central (https://repo1.maven.org/maven2/): Socket closed
Could not transfer artifact org.clojure:google-closure-library-third-party:jar:0.0-20160609-f42b4a24 from/to clojars (https://repo.clojars.org/): Socket closed
Could not transfer artifact org.clojure:data.json:jar:0.2.6 from/to central (https://repo1.maven.org/maven2/): Socket closed
Could not transfer artifact org.clojure:data.json:jar:0.2.6 from/to clojars (https://repo.clojars.org/): Socket closed
Could not transfer artifact org.mozilla:rhino:jar:1.7R5 from/to central (https://repo1.maven.org/maven2/): Socket closed
Could not transfer artifact org.mozilla:rhino:jar:1.7R5 from/to clojars (https://repo.clojars.org/): Socket closed
Could not transfer artifact org.clojure:tools.reader:jar:1.0.0-beta3 from/to central (https://repo1.maven.org/maven2/): Socket closed
Could not transfer artifact org.clojure:tools.reader:jar:1.0.0-beta3 from/to clojars (https://repo.clojars.org/): Socket closed
This could be due to a typo in :dependencies, file system permissions, or network issues.
If you are behind a proxy, try setting the 'http_proxy' environment variable.
Uberjar aborting because jar failed: Could not resolve dependencies
OS version:
MacOS Hight Sierra 10.13.6 (17G5019)
marcelloromani commented
I've tried using the latest code from master
: same error.
marcelloromani commented
After repeatedly running lein deps
, all dependencies were progressively downloaded.
I was eventually able to build the package:
$ lein uberjar
Compiling code-maat.cmd-line
Compiling code-maat.cmd-line
Created /path/to/code-maat/target/code-maat-1.1-SNAPSHOT.jar
It must have been a transient network issue on my side, apologies for the noise.