Lee Hinman <matthew.hin...@gmail.com> writes:

> Hugo Duncan writes:
>
>> lein-sha-version is a leiningen plugin that sets the project version
>> based on the git SHA of the HEAD of the current branch. 
>>
>> It can be used to create jars with a fixed version, but without the
>> trappings of a "full" release version. It provides a simple way of doing
>> SNAPSHOT type releases without the disadvantage of having SNAPSHOT
>> resolve to a moving target version.
>
> Out of curiosity, doesn't maven's snapshot pining already do this?

You can pin usage of a snapshot based on upload timestamp. The lifetime
of SNAPSHOT artifacts is however controlled by the repo policies, so a
particular (timestamped) version of SNAPSHOT jar can disappear at any
time. 

Jars produced when using this plugin would be considered release jars in
the maven repo world.

Hugo

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