Quantcast
Channel: Community Center - ClojureVerse
Viewing all articles
Browse latest Browse all 168

Clj to use a non-default maven repository

$
0
0

Hi,

I’m behind a corporate wall and cannot run clj as I cannot access the default maven repository.

Caused by: org.eclipse.aether.transfer.ArtifactTransferException: Could not transfer artifact org.clojure:clojure:pom:1.12.0 from/to central (Central Repository:): Connect to repo1.maven.org:443 [repo1.maven.org/151.101.188.209] failed: connect timed out

But the alternative https://repo.maven.apache.org/ is accessible.

As I’m using lein, tried to change the configuration like this:

$ cat ~/.lein/profiles.clj
{:mirrors {“central” {:url “Central Repository:”}}}

But it didn’t solve the issue and still cannot run clj.

What should I do to replace the blocked repo by the whitelisted one?

11 posts - 3 participants

Read full topic


Viewing all articles
Browse latest Browse all 168

Trending Articles