lein run results in the following error:
Could not find artifact foo:common:jar:10.11.0 in central (https://repo1.maven.org/maven2/)
Could not find artifact foo:common:jar:10.11.0 in clojars (https://clojars.org/repo/)
However, on my computer, the file ~/.m2/repository/foo/common/10.11.0/common-10.11.0.jar exists. It seems like lein is trying to download the file from central and clojars, even though it already exists on my computer.
This particular jar does not exist in the maven central or clojars, it exists in a private repository, that I only have access to when I'm on a certain network. I'm not on that network right now, so it would really help if lein did not try to download a file that already exists on my computer.
Does anyone know how to fix this?
Update
I got the information that you can run lein in offline mode using lein -o .... This resulted in the following error though:
The repository system is offline but the artifact foo:common:jar:10.11.0 is not available in the local repository.