diepeglo <diepe...@googlemail.com> writes:

> I don't want leiningen to download jars from remote repositories as I
> have all jars in .m2 local repo already from older sessions so there
> is no need for leiningen to download them. The build process fails
> (no network) and it takes years ...

The only case where Leiningen should re-fetch a dependency you already
have in ~/.m2 is if it's a snapshot dependency. You can freeze that to a
timestamped snapshot or move to a release. If it's re-fetching release
jars then that's a bug.

Future releases of Leiningen 2 will have an :offline profile that will
prevent it from hitting the network, but for now you can add an
:offline? true entry to project.clj if you're on 2-preview.

-Phil

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to