Thanks, that's helpful to know (I was a java dev a long time ago,
before Maven took over
the world), but really I wanted to isolate this hack to a specific
project directory, rather
than globallly.

On 21 November 2012 12:00, Jim foo.bar <jimpil1...@gmail.com> wrote:
> On 21/11/12 11:47, Dick Davies wrote:
>>
>> Also, is it possible to 'override' a given dependency to favour a local
>> JAR
>> over the 'official' maven one?
>
>
> just install the jar into your local maven repo (~/.m2/) (with identifiable
> name)  and then pull it from whatever project you want. I think Leiningen
> will look first in your .m2 dir and only if it cannot find the jar it will
> ask maven, clojars etc etc...am I right?
>
> Jim
>
> --
> 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

-- 
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