Laurent PETIT wrote:
> Hello,
> 
> Just an idea out of my head : could it be possible for the pom.xml to be 
> included in the jar, in the META-INF/ directory ?
> 
> This would even further simplify the process, wouldn't it ? :)

That's a great idea!  Can't believe it didn't occur to me. :-)

I looks like Maven does this, it puts two files in the jar:

META-INF/maven/$groupId/$artifactId/pom.xml
META-INF/maven/$groupId/$artifactId/pom.properties

pom.properties contains:

version=1.0.0
groupId=mygroup
artifactId=myjar

So it looks like you can use that to figure out what version a library 
is just using the java properties system.  We should make Leiningen do 
the same.

Alex

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