本文介绍了Maven 用于其他语言?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我对 Java 和 Maven 的世界相对较新,但我无法想象在不使用 Maven 的情况下开始一个新的 Java 项目.

I am relatively new to the world of Java and Maven, but I couldn't imagine starting a new Java project without using Maven.

提供人类可读的项目模型的想法是我认为在许多语言中普遍需要的.当您的应用程序依赖大量外部库时尤其如此.

The idea of providing a human-readable project model is something that I would imagine is universally desirable across many languages. This is especially true when your application relies upon numerous external libraries.

是否有任何其他与 Maven 性质相似的针对 Java 以外语言的项目管理或构建工具;也就是说,为项目维护者提供一种机制来指定依赖项和构建顺序?

Are there any other project management or build tools for languages other than Java that are similar in nature to Maven; that is, that provide a mechanism for the project maintainer to specify dependencies and build order?

推荐答案

以下是我所知道的一些.至于它们是否是给定语言最合适的工具,请形成您自己的意见.

Here's some I know of. As to whether they are the most appropriate tool for a given language, form your own opinion.

  • .Net: NMaven and dotnet-maven-plugin
  • AspectJ: aspectj-maven-plugin (still Java I know but worth mentioning)
  • c/c++: native-maven-plugin compile with compilers such as gcc, msvc, etc ...
  • Google Web Toolkit gwt-maven-plugin
  • PHP: Maven for PHP
  • Ruby: Ruby on Maven
  • Scala: maven-scala-plugin
  • Flex and Air: Flexmojos

可以使用 exec-maven-plugin 调用相关的编译器并将执行绑定到编译阶段.

Arbitrary "integrations" can be handled by using the exec-maven-plugin to invoke the relevant compiler and binding the execution to the compile phase.

还有类似 Maven 的产品,例如 Byldan for .Net

There are also Maven-like products such as Byldan for .Net

根据 Pascal 的建议更新了 Flex Mojos 和 dotnet-maven-plugin.

Updated with Flex Mojos and dotnet-maven-plugin at Pascal's suggestion.

这篇关于Maven 用于其他语言?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-29 19:50
查看更多