[JAVA] maven 阿里云节点 settings.xml
2024-10-20 00:43:45
<?xml version="1.0" encoding="UTF-8"?>
<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">
<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>
--> <mirror>
<id>alimaven</id>
<name>aliyun maven</name>
<url>http://maven.aliyun.com/nexus/content/groups/public/</url>
<mirrorOf>central</mirrorOf>
</mirror> <mirror>
<id>uk</id>
<mirrorOf>central</mirrorOf>
<name>Human Readable Name for this Mirror.</name>
<url>http://uk.maven.org/maven2/</url>
</mirror> <mirror>
<id>CN</id>
<name>OSChina Central</name>
<url>http://maven.oschina.net/content/groups/public/</url>
<mirrorOf>central</mirrorOf>
</mirror> <mirror>
<id>nexus</id>
<name>internal nexus repository</name>
<!-- <url>http://192.168.1.100:8081/nexus/content/groups/public/</url>-->
<url>http://repo.maven.apache.org/maven2</url>
<mirrorOf>central</mirrorOf>
</mirror> </mirrors>
</settings>
最新文章
- 解决Trauncate table没权限
- PBOC协议中对于所有电子存折/电子钱包应用的预处理
- 一个事务复制的bug--更新丢失
- ftp服务器远程拷贝命令
- Cocos2dx 3.x包含ext库报错解决
- 15 day 1代碼
- 做最好的自己(Be Your Personal Best)
- css08盒子模型
- java 图片 批量 压缩 +所有压缩
- 升级fedora 18到fedora 19
- Fastify 系列教程四 (求对象、响应对象和插件)
- JavaEE EL &; JSTL 学习笔记
- 分布式进阶(十八) 分布式缓存之Memcached
- JDK1.8源码(二)——java.util.LinkedList
- 18. C# 转换
- windows浏览器访问虚拟机开的rabbitmq服务,无法访问
- Web Server和Application Server之间的区别?
- web全栈架构师[笔记] — 01 ECMAScript6新特性
- 消息推送SignalR简单实例
- mysql数据库的最基本的命令