Fork me on GitHub
#leiningen
<
2016-09-12
>
grav18:09:36

lein seems to insist on re-fetching my dependencies, which for some reason fails (network or something). It seems the dependencies are already in my local ~/.m2 repo. Can I prevent lein from re-fetching?

akiva19:09:01

In your profiles.clj, you can add a profile to skip the check: :repositories {:updates :never, :checksum :fail, :offline? true}. https://github.com/technomancy/leiningen/blob/master/sample.project.clj#L139

grav19:09:52

@akiva Thanks a lot! My google-foo did not work

akiva19:09:03

@grav, my pleasure. That sample.projects.clj is invaluable as a reference.