Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Tool to convert Maven pom.xml to leiningen project.clj

I want to use the leiningen checkouts/ directory feature, but this feature requires that the project under checkouts/ checked out directory contains a project.clj. I have a project (pallet) that has a pom.xml file but no project.clj file.

The data encoded in both project files is similar (name, version, description, dependencies, repositories) and I'm wondering if anyone knows of an existing tool to convert a Maven pom.xml to a leiningen project.clj file.

like image 932
kanaka Avatar asked Nov 17 '11 21:11

kanaka


1 Answers

Here's some code written by Tom Hickey especially for this purpose - https://gist.github.com/1990327

like image 189
spariev Avatar answered Oct 13 '22 12:10

spariev