Maven对其他语言的支持如何,以及编写插件支持其他语言?
我最近询问了有关 maven 的其他工具语言,但没有任何回应(除了一些赞成票:)。鉴于此,我决定也许使用 Maven 很好,但我必须编写自己的插件来完成简单的事情
这会产生许多问题,我想听听人们正在使用的解决方案在他们的日常流程中:
- 运行其他构建/发布系统并且主要使用 Maven 进行打包/依赖管理? (msbuild、vcbuild、cmake、setuptools)
- 直接与其他语言一起使用:
- native-archive-plugin 支持 C/C++,但它与 Visual Studio 集成吗?
- 还有其他我错过的支持更多语言的插件吗?
- 为此编写自己的插件有多难?
问题:
您推荐使用 Maven 管理非 Java 语言和工件的方法是什么?
I recently asked about a maven like tool for other languages but there hasn't been any responses (except for a few upvotes :). Given that, I've decided that maybe using Maven is good, but I'd have to write my own plugins to do simple things
This gives rise to a number of issues, and I'd like to hear about solutions that people are using in their daily process:
- running other build/release systems and mostly use Maven for packaging/dependency management? (msbuild, vcbuild, cmake, setuptools)
- working directly with other languages:
- The native-archive-plugin supports C/C++, but does it integrate with visual studio?
- Are there other plugins for more langugages, that I've missed?
- how hard is it to write your own plugin for this?
Question:
What is your recommended approach for managing non-Java languages and artefacts with Maven?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我目前正在使用 maven-scala-plugin,它工作得很好。我只将源代码放入 src/main/scala 而不是 java 并将 scala:compile 目标绑定到编译阶段,仅此而已。但scala与java非常接近,因此c++可能会出现问题。
I'm currenctly using maven-scala-plugin and it work just great. I only put my sources to src/main/scala instead of java and bind scala:compile goal to compile phase and that's it. But scala is very close to java, so the issues with c++ might arise.