Maven POM 依赖于 ivy.xml 文件
是否有一个 Maven 插件可以用来将 Maven pom 依赖项(包括传递依赖项)转换为 ivy.xml 文件?
Is there a maven plugin which i can use to convert the maven pom dependencies including transitive dependencies to an ivy.xml file?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
这是
来自 此处 或 此处(可能在其他地方)
Here's an Ant script
From here or here (& probably elsewhere)
我觉得最好尽可能只依赖apache。这是我成功运行的 ant 构建文件。
只需要一行,如 http://ant.apache.org 中指定的/ivy/history/trunk/use/convertpom.html。
I feel it is better to depend solely on apache as much as possible. So here is the ant build file which I ran successfully.
Just one line is required as specified in http://ant.apache.org/ivy/history/trunk/use/convertpom.html.
根据 Ivy 1.3-RC1 变更日志
在此博文中对此转换进行了解释。 。
我知道这不是专家,而是常春藤方面,但无论如何它似乎存在一些东西,不是吗?
“应该”可以转换代码(可在网络上获取< /a>) 到一个 Maven 插件,以便由 Maven 指导此转换,如果您愿意的话。
According to Ivy 1.3-RC1 Changelog
This transformation is explained with moire details in this blog post.
I known it's not the maven, but the Ivy side, but anyway it seems to exist something, no ?
It "should" be possible to convert the code (available on the web) to a maven plugin to have this transformation directed by maven, if you wish so.