On Tue, Dec 6, 2011 at 11:12 AM, Robert Levy <r.p.l...@gmail.com> wrote:
> I was wondering the same thing and I came across your un-answered question
> here.  The short answer appears to
> be http://devcenter.heroku.com/articles/local-maven-dependencies
>
> As a side note, I could be wrong but I think lein has
> nonconfigurable behavior to include source files in the jar.

No, you can disable this in project.clj.

> I thought maybe there would be a command to add a jar to a local maven repo,
> but from my brief research into this, it seems that "unmanaged dependencies"
> (linked above) is the way to do this.

There's a plugin, but this is only useful in the context of local
development: https://github.com/kumarshantanu/lein-localrepo

You can certainly store your jars in git, but a better approach is to
keep them in a private Maven repository. This can be done by running
your own server, using a repository service, or uploading jars to S3
in the repository format. I'm working on putting together better
documentation for this.

-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