将 Maven pom.xml 转换为 leiningen project.clj 的工具
我想使用 leiningen checkouts/
目录功能,但此功能要求 checkouts/
checkout 目录下的项目包含一个 project.clj
。我有一个项目(pallet),有一个 pom.xml 文件,但没有 project.clj 文件。
两个项目文件中编码的数据是相似的(名称、版本、描述、依赖项、存储库),我想知道是否有人知道现有的工具可以将 Maven pom.xml
转换为 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.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
以下是 Tom Hickey 专门为此目的编写的一些代码 - https://gist.github.com/1990327
Here's some code written by Tom Hickey especially for this purpose - https://gist.github.com/1990327
有一个 Leiningen 插件 lein-nevam,也是由 Tom Hickey 开发的,它可以转换 Maven pom.xml 文件到project.clj 文件。 -
There is a Leiningen plugin lein-nevam, also by Tom Hickey, that converts Maven pom.xml files to project.clj files. -