Is it possible in maven or leiningen to place a dependency not on a
specific version of a pre-built artifact, but rather on a specific scm
revision (or just head, aka SNAPSHOT for binary releases) of a
project's source repository, and having the machinery understand it
has to first locally build the dependency into a jar/whatever in the
process of compiling one's project ?

Alternatively, is it possible to at least depend on a "source" version
of the dependency, having it compiled on the fly locally when
compiling the main project ? (so that one could benefit from AOP, and
this could also solve the problem of a library mixing java and clojure
source) ?

Does all that make sense ?

2010/1/22 Stuart Sierra <the.stuart.sie...@gmail.com>:
> On Jan 21, 8:21 pm, Richard Newman <holyg...@gmail.com> wrote:
>> Apparently everyone is jumping on the Leiningen bandwagon and deleting
>> their build.xml files. I guess that means I'm moving, too.
>
> Deleting build.xml files is good.  After that, you've got several
> options, including Leiningen and clojure-maven-plugin, both of which
> are based on the Maven dependency model.
>
>> Now, I like to keep track of Clojure master. Right now, Clojure
>> reports "Clojure 1.2.0-master-SNAPSHOT".
>>
>> (I don't see that in Maven Central or in Clojars, so I guess I have to
>> put it in my local repository...?)
>
> Clojure and clojure-contrib have daily snapshots in a Maven repository
> at http://build.clojure.org/snapshots
>
>> Unfortunately, not everybody keeps up-to-date like I do; most of the
>> projects I use demand "1.1.0-alpha-SNAPSHOT". I'm sure there are still
>> projects that demand 1.0.
>
> This is the problem of a young language and immature libraries.  You
> may need to compile those projects yourself and install them in a
> local repository.
>
> -SS
>
> --
> 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