Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to share a dependency that isn't in Clojars

I need to use the mongo-storm library and Clojars doesn't have it. So I cloned the project, compiled and copied the jar to my lib folder by hand. But it is a team project and it is unacceptable for every member to do those steps by hand.

Are there any better and standard ideas on how to solve this issue?

like image 488
Chiron Avatar asked Mar 27 '12 14:03

Chiron


2 Answers

Your team should have a private repository for this purpose. S3 is an ideal substrate for this, and you can use the s3-wagon-private Leiningen plugin to deploy and consume artifacts to/from a secured S3 bucket:

https://github.com/technomancy/s3-wagon-private

like image 157
cemerick Avatar answered Sep 28 '22 08:09

cemerick


If the project has a license that allows it (if it's open source) you are allowed to push your own unofficial version to Clojars yourself using your own group ID. Clojars reserves the "org.clojars.username" group IDs for this purpose. This is described in https://github.com/ato/clojars-web/wiki/tutorial and https://github.com/technomancy/leiningen/blob/master/doc/DEPLOY.md .

The best way would probably be if you could contact the author and to urge him/her to do a proper release. (Also, the readme doesn't tell what license the project has.)

like image 31
raek Avatar answered Sep 28 '22 07:09

raek