配置MAVEN

来源:互联网 发布:ls plc解密软件 编辑:程序博客网 时间:2024/06/08 18:10

1.在apache官网下载maven的bin文件:

下载链接http://maven.apache.org/download.cgi

2.解压放到某个目录下:


3.配置环境变量MAVEN_HOME:


4.在Path里加入maven的bin路径:


5.配置完毕后,在window命令符提示下,输入mvn -v测试是否配置成功:


6.配置成功后在eclipse中配置maven,点击eclipse菜单栏下的eclipse marketplace,搜索maven integration for eclipse ,进行安装:


7.安装完后重启eclipse,为了使eclipse中安装的插件与windows中安装的相同,eclipse需要重定位maven,

点击Window -> Preference -> Maven -> Installation -> Add进行设置:




原创粉丝点击