新的M2Eclipse在Indigo中不再需要maven-eclipse-plugin了吗? [英] Is maven-eclipse-plugin no longer needed with the new M2Eclipse in Indigo?

查看:338
本文介绍了新的M2Eclipse在Indigo中不再需要maven-eclipse-plugin了吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

从历史上看,由于所有的Flex,WTP和GWT的内容,我们的团队将我们的多模块Maven项目导入到Eclipse中是一个重大的麻烦。我们最近认为 maven-eclipse-plugin 可以帮助我们通过生成适当的Eclipse项目文件。



但是,现在似乎M2Eclipse插件已被Eclipse吞噬,并且导入Maven项目现在似乎读取了pom和尝试做正确的事情。



这是否意味着maven-eclipse-plugin基本上已经过时了?我们可以以最好的方式帮助我们的项目导入到Eclipse中?

解决方案

maven eclipse插件 m2eclipse (现在<一个href =http://eclipse.org/m2e/> m2e )是独立的项目。他们从$ code> 2.7 发布的maven eclipse插件(当maven eclipse插件删除 eclipse:m2eclipse 目标)时停止合作。 / p>

我相信你可以使用maven eclipse插件与Eclipse,如果你没有有m2e插件,但支持,特别是对于wtp是有限的,如果不存在。


Historically, its been a major hassle for our team to import our multi-module Maven project into Eclipse given all the Flex, WTP, and GWT stuff in there. We were recently thinking that the maven-eclipse-plugin could help us by generating the appropriate Eclipse project files.

However, it seems now that the M2Eclipse plugin has been swallowed up by Eclipse and importing Maven projects now seems to read the pom and try to do the Right Thing.

Does this mean the maven-eclipse-plugin is essentially obsolete? What can we do to help our projects import into Eclipse in the best possible way?

解决方案

maven eclipse plugin and m2eclipse (now m2e) are independent projects. They stopped working together from 2.7 release of maven eclipse plugin (when maven eclipse plugin dropped eclipse:m2eclipse goal).

I believe you can use maven eclipse plugin with Eclipse if you do not have m2e plugin, but the support, especially for wtp is limited, if not non-existent.

这篇关于新的M2Eclipse在Indigo中不再需要maven-eclipse-plugin了吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆