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分

posted @   逆火狂飙  阅读(22786)  评论(1编辑  收藏  举报
编辑推荐:
· Linux系列:如何用heaptrack跟踪.NET程序的非托管内存泄露
· 开发者必知的日志记录最佳实践
· SQL Server 2025 AI相关能力初探
· Linux系列:如何用 C#调用 C方法造成内存泄露
· AI与.NET技术实操系列(二):开始使用ML.NET
阅读排行:
· 无需6万激活码!GitHub神秘组织3小时极速复刻Manus,手把手教你使用OpenManus搭建本
· C#/.NET/.NET Core优秀项目和框架2025年2月简报
· Manus爆火,是硬核还是营销?
· 终于写完轮子一部分:tcp代理 了,记录一下
· 【杭电多校比赛记录】2025“钉耙编程”中国大学生算法设计春季联赛(1)
历史上的今天:
2017-08-24 【高中数学/基本不等式】已知1<=x<=y<=z<=t<=100,求x/y+z/t之最小值?
2017-08-24 json lib 2.4及其依赖包下载
生当作人杰 死亦为鬼雄 至今思项羽 不肯过江东
点击右上角即可分享
微信分享提示