Anyone know if there's a way to remove maven central and clojars from the repository that deps pulls from?
I want to test pulling dependancies from a private repo only
I don't know if there is a way to remove but you can override default repositories with your private repo url
clj -Sdeps '{:deps {something/something {:mvn/version "1.0.0"}} :mvn/repos {"central" {:url ""} "clojars" {:url ""}}}'
Error building classpath. Failed to read artifact descriptor for something:something:jar:1.0.0
,,,
Caused by: org.eclipse.aether.transfer.ArtifactTransferException: Could not transfer artifact something:something:pom:1.0.0 from/to central (): status code: 500, reason phrase: Internal Server Error (500)
ah thanks that works!