将 Maven pom.xml 转换为 leiningen project.clj 的工具

发布于 2024-12-16 22:37:41 字数 306 浏览 3 评论 0原文

我想使用 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

壹場煙雨 2024-12-23 22:37:41

以下是 Tom Hickey 专门为此目的编写的一些代码 - https://gist.github.com/1990327

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

零崎曲识 2024-12-23 22:37:41

有一个 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. -

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文