Skip to content

Commit a6bab59

Browse files
committed
feat: add maven settings.xml
1 parent 262db02 commit a6bab59

File tree

1 file changed

+43
-0
lines changed

1 file changed

+43
-0
lines changed

settings.xml

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
3+
<settings xmlns="http://maven.apache.org/SETTINGS/1.2.0"
4+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
5+
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.2.0 https://maven.apache.org/xsd/settings-1.2.0.xsd">
6+
7+
<pluginGroups>
8+
9+
</pluginGroups>
10+
11+
12+
<proxies>
13+
14+
</proxies>
15+
16+
<servers>
17+
<server>
18+
<id>deploymentRepo</id>
19+
<username>repouser</username>
20+
<password>repopwd</password>
21+
</server>
22+
</servers>
23+
24+
<!--<mirrors>标签中可以包含多个<mirror>标签,每个<mirror>用于设置一个镜像仓库-->
25+
<mirrors>
26+
<!-- 这里设置的是阿里公共代理仓库 -->
27+
<mirror>
28+
<!-- 镜像的唯一标识符,用来区分不同的镜像 -->
29+
<id>aliyunmaven</id>
30+
<!-- 镜像名称 -->
31+
<name>阿里云公共仓库</name>
32+
<!-- 镜像的URL地址 -->
33+
<url>https://maven.aliyun.com/repository/public</url>
34+
35+
<mirrorOf>*</mirrorOf>
36+
</mirror>
37+
</mirrors>
38+
39+
<profiles>
40+
41+
</profiles>
42+
43+
</settings>

0 commit comments

Comments
 (0)