一、安装Maven的Eclipse插件:m2eclipse
?
两种方式:
1.instal new software,通过下面url安装:
http://m2eclipse.sonatype.org/sites/m2e
?
*注,参考网页:http://m2eclipse.sonatype.org/installing-m2eclipse.html
?
2.Eclipse Marketplace,搜索:maven Integration:
选择:Maven Integration for Eclipse
?
?
二、设置m2eclipse插件
?
eclipse.ini需要设置-VM参数,在文件首位参数增加:
?-vm***\jdk1.*\bin\javaw.exe
?
*如果上面没有设置,可能会提示以下警告:
The Maven Integration requires that Eclipse be running in a JDK, beacuase a number of Maven core plugins are using jars from the JDK. Please make sure the -vm options in eclipse.ini is pointing to a JDK and verify that Installed JREs are also using JDK installs.
??
?