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

I want to use the leiningen checkouts/ directory function, but this function requires that the project in the checkouts/ extracted directory contains project.clj . I have a project (pallet) that has a pom.xml file but not a project.clj file.

The data encoded in both project files is similar (name, version, description, dependencies, repositories), and I wonder if anyone knows about the existing tool to convert Maven pom.xml to leiningen project.clj file.

+6
source share
2 answers

Here is some code written by Tom Hickey specifically for this purpose - https://gist.github.com/1990327

+4
source

There is a Leiningen lein-nevam plugin , also Tom Hickey, which converts Maven pom.xml files to project.clj files. -

+1
source

Source: https://habr.com/ru/post/901755/


All Articles