我应该迁移从Ant来Maven的? [英] Should I migrate from Ant to Maven?
问题描述
我工作的一个相当大的项目(有多个模块,外部库的一堆等),现在我们正考虑从蚂蚁到Maven的。我明白两者之间的差异,但我不相信这是真的值得花时间转换的项目布局,设置了所有的依存关系,教学开发人员和配置管理员做事的新路等。
I am working on a fairly large project (with a number of modules, a bunch of external libraries etc.) and we are now considering switching from Ant to Maven. I understand the differences between the two, but I am not convinced that it is really worth spending time converting the project layout, setting up all the dependencies, teaching developers and configuration managers doing things "the new way" etc.
有很多在网络上的资源描述如何从蚂蚁迁移到Maven的,但我还没有发现,许多人说为什么: - )
There are a lot of resources on the web describing how to migrate from Ant to Maven, but I haven't found that many that say why :-)
推荐答案
改变你的构建系统,问自己(和组)你为什么改变过吗?如果您要改变仅仅因为Maven是新事,不要。如果你确实看到一个技术原因迁移,做到这一点。
Before changing your build system, ask yourself (and the group) why you're changing? If you're changing just because Maven is the "new thing", don't. If you actually see a technical reason to migrate, do it.
在一般情况下,除非有一个主要的令人信服的理由这样做(新功能或更简单的管理),我会说陪伴你有什么当前项目,但考虑到Maven的未来项目。
In general, unless there's a major compelling reason to do so (new capabilities or much simpler management), I'd say stay with what you have for the current project, but consider Maven for future projects.
这篇关于我应该迁移从Ant来Maven的?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!