maven本地仓库和镜像源设置
来源:互联网 发布:mac 调整鼠标指针大小 编辑:程序博客网 时间:2024/06/06 01:53
进入到maven的安装目录,打开conf文件夹,修改setting.xml
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd">
<!-- localRepository
| The path to the local repository maven will use to store artifacts.
|
| Default: ${user.home}/.m2/repository
<localRepository>/path/to/local/repo</localRepository>
-->
<localRepository>D:\maven\maven-repo</localRepository>
<mirrors>
<!-- mirror
| Specifies a repository mirror site to use instead of a given repository. The repository that
| this mirror serves has an ID that matches the mirrorOf element of this mirror. IDs are used
| for inheritance and direct lookup purposes, and must be unique across the set of mirrors.
|
<mirror>
<id>mirrorId</id>
<mirrorOf>repositoryId</mirrorOf>
<name>Human Readable Name for this Mirror.</name>
<url>http://my.repository.com/repo/path</url>
</mirror>
-->
<id>maven.net.cn</id>
<mirrorOf>*</mirrorOf>
<name>central mirror in china</name>
<url>http://maven.net.cn/content/groups/public</url>
</mirrors>
- maven本地仓库和镜像源设置
- MAVEN设置本地仓库
- Maven仓库-本地仓库和远程仓库
- maven仓库的本地设置
- maven如何设置本地仓库
- [Maven]本地仓库位置设置
- Maven设置本地仓库位置
- 关于maven本地仓库的设置和添加jar包
- maven的本地仓库和中央仓库
- maven远程仓库和本地仓库配置
- Maven中的本地仓库的设置
- Maven配置及本地仓库设置
- Maven详解之仓库--本地仓库和远程仓库
- Maven详解之仓库------本地仓库和远程仓库
- maven中设置本地仓库与中央仓库
- 设置Maven的本地仓库与远程仓库
- 设置Maven中央仓库 国内镜像 [本地仓库]
- Maven的安装和本地仓库初始化
- 使用富文本修改字体的风格NSMuttableAttstring
- 【HTML5】跨浏览器的HTML5占位文本(PlaceHolder)方案
- 棋盘上的麦子(BigInteger处理大数问题)
- expect set timeout -1 永不超时
- Android 替换全局字体
- maven本地仓库和镜像源设置
- Confluence简介
- 公司实习SEO优化日记:2016年2月16日
- fragment 懒加载 viewpager 取消预加载
- iOS闭包循环引用讲解
- c++函数指针以及回调函数
- 安卓存储数据和文件系列2:共享参数(sharedpreferences)方式
- Android面试题之Activity
- 学习JavaScript的闭包(closure)