gpt4 book ai didi

maven - Maven Polyglot 怎么了?

转载 作者:行者123 更新时间:2023-12-04 20:44:16 24 4
gpt4 key购买 nike

以前位于 http://polyglot.sonatype.org/ 的 Maven Polyglot 项目发生了什么变化?

this article 中所述,

One exciting new feature in Maven 3 is it's ability to work with pom files written in non-XML notations. The Maven core now provides an underlying DSL to access the Maven internals, and write POM files in the language of your choice. This currently includes scripting languages like Groovy, Ruby, and others. In short, you will be able to write a DSL for virtually any scripting language you like that can hook into the Maven internals and pilot the Maven build process.



我发现网络上还有几篇其他文章引用了该功能。
  • http://www.thinkplexx.com/learn/article/maven-learn-material/maven3/maven3-pom-using-groovy-ruby-scala-yaml-sonatype-polyglot
  • http://mattgivney.blogspot.com/2011/05/maven-3-polyglot-support.html

  • 但是多语言站点现在重定向到 sonatype.org,我在 Maven 3 release notes 中找不到任何提及此功能的信息。 .

    所以发生了什么事?它是被剪掉了还是在那里,只是没有记录在发行说明中?如果它确实适用于 Maven 3,您能否指出一些文档。我也对我链接的第一篇文章中提到的翻译工具感兴趣。

    最佳答案

    Jason van Zyl 对 maven 用户列表进行了更新:http://maven.40175.n5.nabble.com/What-happened-to-Polyglot-Maven-td5715529.html

    I'm still working on it along with a few others. Dhanji has the Atom markup working, Kristian has implemented a Ruby DSL, and Jason Dillon has implemented a Groovy DSL which creates synthetic plugins to bind arbitrary scripting to Maven's lifecycle. My original was to see how Maven's infrastructure could be leveraged by other markups and DSLs. These examples do render to an interoperable format insofar as consumers go. Maven itself obviously cannot run a Ruby DSL but if you like the Ruby DSL you can use it to build an not affect consumers: you can build and deploy to a Maven repository and someone else can consume the dependency with stock Maven.

    I have all the early adopters I can deal with one-on-one right now, because I can't deal with many really, but if you have more than a passing interest feel free to email me privately.


    看起来它还活着:-)

    关于maven - Maven Polyglot 怎么了?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11170057/

    24 4 0
    Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
    广告合作:1813099741@qq.com 6ren.com