Tool to convert Maven pom.xml to leiningen project.clj
Asked Answered
C

2

6

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.

Carmancarmarthen answered 17/11, 2011 at 21:38 Comment(1)
does #clojure on irc count as a tool?Victory
V
4

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

Vincenza answered 7/3, 2012 at 19:15 Comment(0)
B
1

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

Banderilla answered 23/1, 2014 at 22:24 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.