Maven 3.6.1 下载及安装配置

Step1:Download

You can download Maven3.6.1 from maven.apche.org , or from here.

 

Step2:Unzip and add to "Path"

Unzip the amven zip file and then add the path of 'bin' directory to System variable 'Path'

Step 3: Verify

open a cmd window and type in "mvn -v",If you see the output as below, it indicates maven has been installed properly.

C:\Users\heyang>mvn -v
Apache Maven 3.6.1 (d66c9c0b3152b2e69ee9bac180bb8fcc8e6af555; 2019-04-05T03:00:29+08:00)
Maven home: C:\maven-3.6.1\bin\..
Java version: 1.8.0_212, vendor: Oracle Corporation, runtime: c:\java8\jre
Default locale: zh_CN, platform encoding: GBK
OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows"

Step 4:add mirror

open the file C:\maven-3.6.1\conf\settings.xml, add the follow paragraph into the node 'mirrors'

   <mirror>
      <id>alimaven</id>
      <mirrorOf>central</mirrorOf>
      <name>aliyun maven</name>
      <url>http://maven.aliyun.com/nexus/content/groups/public/</url>
    </mirror>

 Step5:config in Eclipse

Open eclipse's preference menu,click maven tab and add the two configuration as below:

 

--End--

2019年8月24日08点42分

转载于:https://www.cnblogs.com/xiandedanteng/p/11403480.html

  • 2
    点赞
  • 3
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值