在过去几年中,我们已经使用了m2eclipse而没有问题,但似乎“新”版本(即,M2E)已经破坏了向后兼容性 - 我真正希望我刚刚误解的东西。

我的问题是:我希望能够用最小量的大惊小怪建立我的现有项目。我没有时间编写连接器的3个插件,这些插件没有它们 - 我对其中的2个的理解是非常有限的,我没有理解Eclipse插件机制 - 但我仍然希望能够使用Eclipse来构建项目。

我可以在不恢复旧(工作)版本m2eclipse的情况下实现这一点吗?

我在我理解中,没有办法升级,而不为每个插件升级连接器?

有帮助吗?

解决方案

It seems as if my understanding was correct if this blog post is anything to go by: http://grumpyapache.blogspot.com.au/2011/08/mess-that-is-m2e-connectors.html

M2E can invoke a plugin as part of the automatic build process if, and only if, there is a connector for the plugin, or you specially configure the plugin

... which means that:

You can no longer use your own plugins in the Eclipse automatic builds, unless you create a connector for the plugin, or create a project-specific configuration

The post goes on to list the issues with this approach. These are many of the same issues I have with the approach.

RANT: So there you have it - the m2e approach does suck as much as I feared it did! I was beginning to think it was just me!

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top