maven阿里仓库
来源:互联网 发布:linux查看挂载目录 编辑:程序博客网 时间:2024/06/11 07:18
自从开源中国的maven仓库挂了之后就一直在用国外的仓库,慢得想要砸电脑的心都有了。如果你和我一样受够了国外maven仓库的龟速下载?快试试阿里云提供的maven仓库,从此不在浪费生命……
仓库地址:http://maven.aliyun.com/nexus/#view-repositories;public~browsestorage
仓库配置
在maven的settings.xml文件里的mirrors节点,添加如下子节点:
<mirror> <id>nexus-aliyun</id> <mirrorOf>central</mirrorOf> <name>Nexus aliyun</name> <url>http://maven.aliyun.com/nexus/content/groups/public</url> </mirror>
或者直接在profiles->profile->repositories节点,添加如下子节点:
<repository> <id>nexus-aliyun</id> <name>Nexus aliyun</name> <layout>default</layout> <url>http://maven.aliyun.com/nexus/content/groups/public</url> <snapshots> <enabled>false</enabled> </snapshots> <releases> <enabled>true</enabled> </releases></repository>
settings文件的路径
settings.xml的默认路径就:个人目录/.m2/settings.xml
如:
windowns: C:\Users\你的用户名\.m2\settings.xml
linux: /home/你的用户名/.m2/settings.xml
Keep it simple!
作者:KEITSI
出处:http://www.cnblogs.com/keitsi/
知识共享,欢迎转载。
0 0
- 阿里云maven仓库
- maven阿里仓库
- 阿里云maven仓库
- 阿里云Maven仓库
- 阿里maven仓库地址
- maven阿里仓库
- 阿里云Maven仓库
- MAVEN 阿里云仓库
- 阿里云Maven仓库
- Maven阿里云仓库
- 阿里云maven仓库
- 阿里云Maven仓库
- 阿里云maven仓库
- maven仓库(阿里)
- maven setting 阿里仓库
- 阿里云maven中国仓库
- 阿里云Maven仓库地址
- maven阿里云中央仓库
- iOS UIslider 设定滑块的大小
- win10 uwp 简单MasterDetail
- bzoj 1370 团伙 并查集
- Redis之——搭建高可用及负载均衡的Redis
- uva11270 Tiling Dominoes
- maven阿里仓库
- MySQL查看当前数据库
- LeetCode Problem No1 Two Sum
- 网络编程学习笔记一
- distinct 去重问题
- 最小 最大 平均值(文件)
- 【Linux基础学习之一】关于Linux的一些基本操作(linux登陆、口令文件、多终端登陆)
- Tomcat部署时war和war exploded区别以及平时踩得坑
- wustoj1654医院设置