And it's also standard in maven to have the final artifact (e.g. a jar) be
self-documented by having pom.xml and pom.properties in the META-INF
directory of the jar :

META-INF/maven/<groupId>/<artifactId>/pom.xml
META-INF/maven/<groupId>/<artifactId>/pom.properties

Not sure if clojars can be fed by simply providing a jar providing
self-describing metadata yet, though.

2010/2/3 Konrad Hinsen <konrad.hin...@fastmail.net>

> On 2 Feb 2010, at 21:52, Alex Osborne wrote:
>
>  Sure, you can just write the POM by hand.  The reason the POM is
>> necessary is so clojars knows the groupId, artifacId, version and
>> description of your lib.  So just create the jar however you want (eg
>> just use the 'jar' command-line tool).  Then create a pom.xml file with
>> a text editor.
>>
>
> Thanks, that looks refreshingly simple!  :-)
>
>
>  tried it).  However if your lib depends on nothing but clojure.core,
>> then you may as well leave off dependency section entirely, as anyone
>> consuming it is going to specify which version of Clojure they want.
>>
>
> Indeed. Except that I just figured out that it does require Clojure 1.2
> after all...
>
> Konrad.
>
>
> --
> 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<clojure%2bunsubscr...@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