How to configure custom Maven repositories in Babashka’s bb.edn to override defaults? I tried, but it does not work
{:paths ["src"]
:pods {org.babashka/postgresql {:version "0.1.4"}}
:deps {com.github.seancorfield/honeysql {:mvn/version "2.5.1103"}}
:mvn/repos {"clojars" {:url "https://repo.clojars.org/"}
"central" {:url "https://repo1.maven.org/maven2/"}}}
~/.m2/settings.xml has config like this:
bytedance-public
*,!x,!y
but I can not modify itCan you test it with deps.edn first to see if it works with that?
I tried to do something similar a while back, and I got stuck somewhere, but that was a long time ago. Just to sort of test this out, I made a repro with obviously unusable URLs, and the deps fetch failed, which would suggest to me that the configuration of custom repos "works"
cat bb.edn
{:deps {medley/medley {:mvn/version "1.3.0"}}
:mvn/repos {"clojars" {:url ""}
"central" {:url ""}}}
bb
Error building classpath. Could not find artifact medley:medley:jar:1.3.0 in central ()