Re: Converting project.clj to maven's pom.xml

2013-08-25 Thread Ryan Berdeen
Now that https://github.com/technomancy/leiningen/pull/454 is resolved, what's the right way to have lein generate a pom.xml that Maven can build? Is https://github.com/pallet/zi the way to go? How do I configure my project.clj so that it adds the plugin to the pom's section, instead of addin

Re: Converting project.clj to maven's pom.xml

2012-06-07 Thread Phil Hagelberg
On Thu, Jun 7, 2012 at 2:52 PM, Joseph Smith wrote: > Doesn't "lein pom" do it? Not yet, but it's planned: https://github.com/technomancy/leiningen/pull/454 Happy to take a patch for it. -Phil -- You received this message because you are subscribed to the Google Groups "Clojure" group. To pos

Re: Converting project.clj to maven's pom.xml

2012-06-07 Thread Joseph Smith
Doesn't "lein pom" do it? --- Joseph Smith j...@uwcreations.com (402)601-5443 On Jun 6, 2012, at 11:20 PM, Mark Derricutt wrote: > Maybe I should write a lein plugin that generates a pom for my maven plugin - > but that feels a little rude :) > > Mark > > On 21/04/12 8:46 AM, Ben Smith-Mann

Re: Converting project.clj to maven's pom.xml

2012-06-07 Thread Mark Derricutt
Maybe I should write a lein plugin that generates a pom for my maven plugin - but that feels a little rude :) Mark On 21/04/12 8:46 AM, Ben Smith-Mannschott wrote: It does't configure clojure-maven-plugin, so executing 'mvn package' with the resulting pom will not produce a useful result. -

Re: Converting project.clj to maven's pom.xml

2012-04-20 Thread Phil Hagelberg
On Fri, Apr 20, 2012 at 6:52 PM, Murtaza Husain wrote: > 3) Th pom should be good enough so that it can be used by cloud evironments > ( http://jelastic.com/docs/maven-cloud-hosting-in-jelastic) for building and > deploying as a war. > > So is the above scenario possible if I just execute lein pom

Re: Converting project.clj to maven's pom.xml

2012-04-20 Thread Murtaza Husain
Hi, Thanks for the answers, they are quite helpful. What I would like to do is this - 1) Use leiningen for development purposes. 2) Gnenerate a pom while pushing to git. 3) Th pom should be good enough so that it can be used by cloud evironments ( http://jelastic.com/docs/maven-cloud-hostin

Re: Converting project.clj to maven's pom.xml

2012-04-20 Thread Phil Hagelberg
On Fri, Apr 20, 2012 at 1:46 PM, Ben Smith-Mannschott wrote: > It will generate a pom.xml which identifies your project (artifactId, > groupId, version, packaging) and lists its dependencies. This pom is > suitable for publishing your artifacts to some Maven repository for > others to consume. (Th

Re: Converting project.clj to maven's pom.xml

2012-04-20 Thread Ben Smith-Mannschott
"lein pom" may not do all you need. It depends on what you are trying to accomplish. It will generate a pom.xml which identifies your project (artifactId, groupId, version, packaging) and lists its dependencies. This pom is suitable for publishing your artifacts to some Maven repository for others

Re: Converting project.clj to maven's pom.xml

2012-04-20 Thread Timothy Baldridge
Try lein pom On Apr 20, 2012 1:29 PM, "Murtaza Husain" wrote: > Hi, > > Is there any way to convert project.clj to pom.xml. > > I was looking at jelastic which is a cloud provider for java, and they > allow deploying projects from git repos which are compatible with maven 3. > It will download t

Converting project.clj to maven's pom.xml

2012-04-20 Thread Murtaza Husain
Hi, Is there any way to convert project.clj to pom.xml. I was looking at jelastic which is a cloud provider for java, and they allow deploying projects from git repos which are compatible with maven 3. It will download the code and build it based on the maven config. Anyway we can leverage tha