Gist & Cookbook ...

小目标:每天能够提交一行代码 ...

阿里云maven仓库的完整配置

吴亮's Avatar 2020-02-05

阿里云的Maven仓库都配置上了,以备不时之需。

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
<?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">
<servers>
</servers>

<mirrors>
<mirror>
<id>central</id>
<name>central</name>
<url>https://maven.aliyun.com/repository/central</url>
<mirrorOf>center</mirrorOf>
</mirror>

<mirror>
<id>jcenter</id>
<name>jcenter</name>
<url>https://maven.aliyun.com/repository/jcenter</url>
<mirrorOf>center</mirrorOf>
</mirror>

<mirror>
<id>public</id>
<name>public</name>
<url>https://maven.aliyun.com/repository/public</url>
<mirrorOf>center</mirrorOf>
</mirror>

<mirror>
<id>google</id>
<name>google</name>
<url>https://maven.aliyun.com/repository/google</url>
<mirrorOf>center</mirrorOf>
</mirror>

<mirror>
<id>gradle-plugin</id>
<name>gradle-plugin</name>
<url>https://maven.aliyun.com/repository/gradle-plugin</url>
<mirrorOf>center</mirrorOf>
</mirror>

<mirror>
<id>spring</id>
<name>spring</name>
<url>https://maven.aliyun.com/repository/spring</url>
<mirrorOf>center</mirrorOf>
</mirror>

<mirror>
<id>spring-plugin</id>
<name>spring-plugin</name>
<url>https://maven.aliyun.com/repository/spring-plugin</url>
<mirrorOf>center</mirrorOf>
</mirror>

<mirror>
<id>grails-core</id>
<name>grails-core</name>
<url>https://maven.aliyun.com/repository/grails-core</url>
<mirrorOf>center</mirrorOf>
</mirror>

<mirror>
<id>apache-snapshots</id>
<name>apache-snapshots</name>
<url>https://maven.aliyun.com/repository/apache-snapshots</url>
<mirrorOf>center</mirrorOf>
</mirror>

<mirror>
<id>aliyun-releases</id>
<name>aliyun-releases</name>
<url>https://maven.aliyun.com/repository/apache-releases</url>
<mirrorOf>center</mirrorOf>
</mirror>

<mirror>
<id>aliyun-snapshots</id>
<name>aliyun-snapshots</name>
<url>https://maven.aliyun.com/repository/apache-snapshots</url>
<mirrorOf>center</mirrorOf>
</mirror>

<mirror>
<id>mapr-public</id>
<name>mapr-public</name>
<url>https://maven.aliyun.com/repository/mapr-public</url>
<mirrorOf>center</mirrorOf>
</mirror>

</mirrors>

<profiles>
<profile>
<id>default</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<repositories>
<repository>
<id>aliyunmaven</id>
<name>阿里云公共仓库</name>
<url>https://maven.aliyun.com/repository/public</url>
<layout>default</layout>
<releases>
<enabled>true</enabled>
<updatePolicy>never</updatePolicy>
</releases>
<snapshots>
<enabled>true</enabled>
<updatePolicy>always</updatePolicy>
</snapshots>
</repository>
<repository>
<id>google</id>
<name>google</name>
<url>https://maven.aliyun.com/repository/google</url>
<layout>default</layout>
<releases>
<enabled>true</enabled>
<updatePolicy>never</updatePolicy>
</releases>
<snapshots>
<enabled>true</enabled>
<updatePolicy>always</updatePolicy>
</snapshots>
</repository>
<repository>
<id>gradle-plugin</id>
<name>gradle-plugin</name>
<url>https://maven.aliyun.com/repository/gradle-plugin</url>
<layout>default</layout>
<releases>
<enabled>true</enabled>
<updatePolicy>never</updatePolicy>
</releases>
<snapshots>
<enabled>true</enabled>
<updatePolicy>always</updatePolicy>
</snapshots>
</repository>
<repository>
<id>spring</id>
<name>spring</name>
<url>https://maven.aliyun.com/repository/spring</url>
<layout>default</layout>
<releases>
<enabled>true</enabled>
<updatePolicy>never</updatePolicy>
</releases>
<snapshots>
<enabled>true</enabled>
<updatePolicy>always</updatePolicy>
</snapshots>
</repository>
<repository>
<id>spring-plugin</id>
<name>spring-plugin</name>
<url>https://maven.aliyun.com/repository/spring-plugin</url>
<layout>default</layout>
<releases>
<enabled>true</enabled>
<updatePolicy>never</updatePolicy>
</releases>
<snapshots>
<enabled>true</enabled>
<updatePolicy>always</updatePolicy>
</snapshots>
</repository>
<repository>
<id>grails-core</id>
<name>grails-core</name>
<url>https://maven.aliyun.com/repository/grails-core</url>
<layout>default</layout>
<releases>
<enabled>true</enabled>
<updatePolicy>never</updatePolicy>
</releases>
<snapshots>
<enabled>true</enabled>
<updatePolicy>always</updatePolicy>
</snapshots>
</repository>
<repository>
<id>apache-snapshots</id>
<name>apache-snapshots</name>
<url>https://maven.aliyun.com/repository/apache-snapshots</url>
<layout>default</layout>
<releases>
<enabled>true</enabled>
<updatePolicy>never</updatePolicy>
</releases>
<snapshots>
<enabled>true</enabled>
<updatePolicy>always</updatePolicy>
</snapshots>
</repository>

<repository>
<id>aliyun-releases</id>
<name>aliyun-releases</name>
<url>https://maven.aliyun.com/repository/releases</url>
<layout>default</layout>
<releases>
<enabled>true</enabled>
<updatePolicy>never</updatePolicy>
</releases>
<snapshots>
<enabled>true</enabled>
<updatePolicy>always</updatePolicy>
</snapshots>
</repository>

<repository>
<id>aliyun-snapshots</id>
<name>aliyun-snapshots</name>
<url>https://maven.aliyun.com/repository/snapshots</url>
<layout>default</layout>
<releases>
<enabled>true</enabled>
<updatePolicy>never</updatePolicy>
</releases>
<snapshots>
<enabled>true</enabled>
<updatePolicy>always</updatePolicy>
</snapshots>
</repository>

<repository>
<id>mapr-public</id>
<name>mapr-public</name>
<url>https://maven.aliyun.com/repository/mapr-public</url>
<layout>default</layout>
<releases>
<enabled>true</enabled>
<updatePolicy>never</updatePolicy>
</releases>
<snapshots>
<enabled>true</enabled>
<updatePolicy>always</updatePolicy>
</snapshots>
</repository>
</repositories>
</profile>
</profiles>
<activeProfiles>
<activeProfile>default</activeProfile>
</activeProfiles>
</settings>

本文作者 : 吴亮
本文使用 署名-非商业性使用-相同方式共享 4.0 国际 (CC BY-NC-SA 4.0) 协议
本文链接 : https://www.wuliang.me/aliyun-maven-repository-complete-configuration/

本文最后更新于 天前,文中所描述的信息可能已发生改变