所用版本:myeclipse10

          maven-3.3.9

 

1.                            打开MyEclipse

2.                            配置jdk, window->preference->java->Installed JREs,在jdk的default vm arguments输入:

-Dmaven.multiModuleProjectDirectory=$M2_HOME

image.png

 

3.                            window->preference->MyEclipse->Maven4MyEclipse->Installation

image.png

 

4.点击 Add选择maven的安装路径选中之后maven就会作为一个外部的部署工具加入到myeclipse

image.png

 

5.window->preference->MyEclipse->Maven4MyEclipse->User Settings 设置maven的配置文件

image.png