To hopefully help address another aspect of your question:
This local repo is *not* inside ~/.m2
It is a directory that can be part of your project, and checked into git
along with it. You just tell Leiningen where to find it using something
like this:
:repositories {"project" "file:repo"}
And then Leiningen will look for artifacts in the directory "repo" at the
project root.
So, you do not have to put things into your actual local Maven repository.
But you *do* have to put artifacts into a properly structured Maven
repository (even if it is entirely fictitious, using made up artifact names
and versions), to use them with Leiningen.
I do this in my project afterglow-max, for example, to build against an API
that is provided by its vendor as a jar file but not as a Maven artifact.
You can find the full project here, if it helps:
https://github.com/brunchboy/afterglow-max#afterglow-max
I hope this helps!
-James
On Monday, September 14, 2015 at 3:48:24 AM UTC-5, Ralf Schmitt wrote:
>
> Lawrence Krubner <[email protected] <javascript:>> writes:
>
> >> lein-localrepo helps with installing jar files into the
> >> local maven repository
> >
> > But they give examples like this:
> >
> > lein localrepo install foo-1.0.6.jar com.example/foo 1.0.6
> >
> > If I had that info I probably would not need to ask any questions
> > here.
>
> I'm using lein localrepo to install a jar file with a completely made up
> version and group id. you just need to use the same values in
> project.clj.
>
> --
> Cheers
> Ralf
>
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your
first post.
To unsubscribe from this group, send email to
[email protected]
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 unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.