Subject: clj (clojure-tools) fails with :deps alias

From: Ryan Barber <[email-masked]>
Date: Sat, 9 Mar 2024 08:14:55 -0800

I am attempting to use the :deps tools to diagnose some library issues
using "-X:deps list" and "-X:deps tree", but I keep encountering the
same error.

This example is run from an empty directory, without a project deps.edn.

$ guix shell clojure-tools openjdk -- clj -M:deps
Warning: failed to load the S3TransporterFactory class
Warning: failed to load the S3TransporterFactory class
Warning: failed to load the S3TransporterFactory class
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for
further details.
Warning: failed to load the S3TransporterFactory class
Warning: failed to load the S3TransporterFactory class
Warning: failed to load the S3TransporterFactory class
Warning: failed to load the S3TransporterFactory class
Warning: failed to load the S3TransporterFactory class
Error building classpath. Could not find artifact
org.clojure:tools.deps.alpha:jar:${project.version} in central
(https://repo1.maven.org/maven2/)