@@ -161,148 +161,6 @@ under the License.
161161 <url>http://my.repository.com/repo/path</url>
162162 </mirror>
163163 -->
164- <!-- https://maven.aliyun.com/ -->
165- <mirror >
166- <id >aliyunmaven</id >
167- <name >阿里云公共仓库</name >
168- <url >https://maven.aliyun.com/repository/public</url >
169- <!-- 如果想为所有的仓库做镜像那么这里加* -->
170- <!-- <mirrorOf>*</mirrorOf>-->
171- <mirrorOf >central</mirrorOf >
172- </mirror >
173- <!-- https://mirrors.cloud.tencent.com/help/maven.html -->
174- <mirror >
175- <id >nexus-tencentyun</id >
176- <name >Nexus tencentyun</name >
177- <url >http://mirrors.cloud.tencent.com/nexus/repository/maven-public/</url >
178- <!-- 如果想为所有的仓库做镜像那么这里加* -->
179- <!-- <mirrorOf>*</mirrorOf>-->
180- <mirrorOf >central</mirrorOf >
181- </mirror >
182- <!-- ibiblio -->
183- <mirror >
184- <id >ibiblio</id >
185- <name >Mirror from Maven ibiblio</name >
186- <url >http://mirrors.ibiblio.org/pub/mirrors/maven2/</url >
187- <!-- 如果想为所有的仓库做镜像那么这里加* -->
188- <!-- <mirrorOf>*</mirrorOf>-->
189- <mirrorOf >central</mirrorOf >
190- </mirror >
191- <!-- 华为 使用华为Maven中央仓库时,需要在servers节点增加一个server子节点 -->
192- <mirror >
193- <id >huaweicloud</id >
194- <name >mirror from maven huaweicloud</name >
195- <url >https://mirror.huaweicloud.com/repository/maven/</url >
196- <!-- 如果想为所有的仓库做镜像那么这里加* -->
197- <!-- <mirrorOf>*</mirrorOf>-->
198- <mirrorOf >central</mirrorOf >
199- </mirror >
200- <!-- repo1.maven.org -->
201- <mirror >
202- <id >central</id >
203- <name >Maven Repository Switchboard</name >
204- <url >http://repo1.maven.org/maven2/</url >
205- <!-- 如果想为所有的仓库做镜像那么这里加* -->
206- <!-- <mirrorOf>*</mirrorOf>-->
207- <mirrorOf >central</mirrorOf >
208- </mirror >
209- <!-- repo1.maven.apache.org -->
210- <mirror >
211- <id >central</id >
212- <name >Maven Repository Switchboard</name >
213- <url >http://repo1.maven.apache.org/maven2/</url >
214- <mirrorOf >central</mirrorOf >
215- </mirror >
216- <!-- repo2.maven.org -->
217- <mirror >
218- <id >repo2</id >
219- <name >Mirror from Maven Repo2</name >
220- <url >http://repo2.maven.org/maven2/</url >
221- <!-- 如果想为所有的仓库做镜像那么这里加* -->
222- <!-- <mirrorOf>*</mirrorOf>-->
223- <mirrorOf >central</mirrorOf >
224- </mirror >
225- <!-- spring.io -->
226- <mirror >
227- <id >sprintio</id >
228- <name >Human Readable Name for this Mirror.</name >
229- <url >https://repo.spring.io/libs-snapshot/</url >
230- <!-- 如果想为所有的仓库做镜像那么这里加* -->
231- <!-- <mirrorOf>*</mirrorOf>-->
232- <mirrorOf >central</mirrorOf >
233- </mirror >
234- <!-- uk.maven.org -->
235- <mirror >
236- <id >ui</id >
237- <name >Mirror from UK</name >
238- <url >http://uk.maven.org/maven2/</url >
239- <!-- 如果想为所有的仓库做镜像那么这里加* -->
240- <!-- <mirrorOf>*</mirrorOf>-->
241- <mirrorOf >central</mirrorOf >
242- </mirror >
243- <!-- repository.jboss.org -->
244- <mirror >
245- <id >jboss-public-repository-group</id >
246- <name >JBoss Public Repository Group</name >
247- <url >http://repository.jboss.org/nexus/content/groups/public</url >
248- <!-- 如果想为所有的仓库做镜像那么这里加* -->
249- <!-- <mirrorOf>*</mirrorOf>-->
250- <mirrorOf >central</mirrorOf >
251- </mirror >
252- <!-- Google -->
253- <mirror >
254- <id >google</id >
255- <name >google maven</name >
256- <url >https://maven.google.com/</url >
257- <!-- 如果想为所有的仓库做镜像那么这里加* -->
258- <!-- <mirrorOf>*</mirrorOf>-->
259- <mirrorOf >central</mirrorOf >
260- </mirror >
261- <!-- Maven china -->
262- <mirror >
263- <id >maven.net.cn</id >
264- <name >Mirror from Maven in china</name >
265- <url >http://maven.net.cn/content/groups/public/</url >
266- <!-- 如果想为所有的仓库做镜像那么这里加* -->
267- <!-- <mirrorOf>*</mirrorOf>-->
268- <mirrorOf >central</mirrorOf >
269- </mirror >
270- <!-- Maven oschina -->
271- <mirror >
272- <id >CN</id >
273- <name >OSChinaCentral</name >
274- <url >http://maven.oschina.net/content/groups/public/</url >
275- <!-- 如果想为所有的仓库做镜像那么这里加* -->
276- <!-- <mirrorOf>*</mirrorOf>-->
277- <mirrorOf >central</mirrorOf >
278- </mirror >
279- <!-- Maven antelink -->
280- <mirror >
281- <id >antelink</id >
282- <name >antelink</name >
283- <url >http://maven.antelink.com/content/repositories/central/</url >
284- <!-- 如果想为所有的仓库做镜像那么这里加* -->
285- <!-- <mirrorOf>*</mirrorOf>-->
286- <mirrorOf >central</mirrorOf >
287- </mirror >
288- <!-- Maven openkoala -->
289- <mirror >
290- <id >openkoala</id >
291- <name >openkoala</name >
292- <url >http://nexus.openkoala.org/nexus/content/groups/Koala-release/</url >
293- <!-- 如果想为所有的仓库做镜像那么这里加* -->
294- <!-- <mirrorOf>*</mirrorOf>-->
295- <mirrorOf >central</mirrorOf >
296- </mirror >
297- <!-- Maven tmatesoft -->
298- <mirror >
299- <id >tmatesoft</id >
300- <name >tmatesoft</name >
301- <url >http://maven.tmatesoft.com/content/groups/public/</url >
302- <!-- 如果想为所有的仓库做镜像那么这里加* -->
303- <!-- <mirrorOf>*</mirrorOf>-->
304- <mirrorOf >central</mirrorOf >
305- </mirror >
306164 </mirrors >
307165
308166 <!-- profiles
@@ -391,6 +249,196 @@ under the License.
391249 </properties>
392250 </profile>
393251 -->
252+ <profile >
253+ <id >multi-repos</id >
254+ <repositories >
255+ <!-- https://maven.aliyun.com/ -->
256+ <repository >
257+ <id >aliyunmaven</id >
258+ <url >https://maven.aliyun.com/repository/public</url >
259+ <releases ><enabled >true</enabled ></releases >
260+ <snapshots ><enabled >false</enabled ></snapshots >
261+ </repository >
262+ <!-- https://mirrors.cloud.tencent.com/help/maven.html -->
263+ <repository >
264+ <id >nexus-tencentyun</id >
265+ <url >http://mirrors.cloud.tencent.com/nexus/repository/maven-public/</url >
266+ <releases ><enabled >true</enabled ></releases >
267+ <snapshots ><enabled >false</enabled ></snapshots >
268+ </repository >
269+ <!-- ibiblio -->
270+ <repository >
271+ <id >ibiblio</id >
272+ <url >http://mirrors.ibiblio.org/pub/mirrors/maven2/</url >
273+ <releases ><enabled >true</enabled ></releases >
274+ <snapshots ><enabled >false</enabled ></snapshots >
275+ </repository >
276+ <!-- 华为 使用华为Maven中央仓库时,需要在servers节点增加一个server子节点 -->
277+ <repository >
278+ <id >huaweicloud</id >
279+ <url >https://mirror.huaweicloud.com/repository/maven/</url >
280+ <releases ><enabled >true</enabled ></releases >
281+ <snapshots ><enabled >false</enabled ></snapshots >
282+ </repository >
283+ <!-- repo1.maven.org -->
284+ <repository >
285+ <id >central</id >
286+ <url >http://repo1.maven.org/maven2/</url >
287+ <releases ><enabled >true</enabled ></releases >
288+ <snapshots ><enabled >false</enabled ></snapshots >
289+ </repository >
290+ <!-- repo1.maven.apache.org -->
291+ <repository >
292+ <id >central</id >
293+ <url >http://repo1.maven.apache.org/maven2/</url >
294+ <releases ><enabled >true</enabled ></releases >
295+ <snapshots ><enabled >false</enabled ></snapshots >
296+ </repository >
297+ <!-- repo2.maven.org -->
298+ <repository >
299+ <id >repo2</id >
300+ <url >http://repo2.maven.org/maven2/</url >
301+ <releases ><enabled >true</enabled ></releases >
302+ <snapshots ><enabled >false</enabled ></snapshots >
303+ </repository >
304+ <!-- spring.io -->
305+ <repository >
306+ <id >sprintio</id >
307+ <url >https://repo.spring.io/libs-snapshot/</url >
308+ <releases ><enabled >true</enabled ></releases >
309+ <snapshots ><enabled >false</enabled ></snapshots >
310+ </repository >
311+ <!-- uk.maven.org -->
312+ <repository >
313+ <id >ui</id >
314+ <url >http://uk.maven.org/maven2/</url >
315+ <releases ><enabled >true</enabled ></releases >
316+ <snapshots ><enabled >false</enabled ></snapshots >
317+ </repository >
318+ <!-- repository.jboss.org -->
319+ <repository >
320+ <id >jboss-public-repository-group</id >
321+ <url >http://repository.jboss.org/nexus/content/groups/public</url >
322+ <releases ><enabled >true</enabled ></releases >
323+ <snapshots ><enabled >false</enabled ></snapshots >
324+ </repository >
325+ <!-- Google -->
326+ <repository >
327+ <id >google</id >
328+ <url >https://maven.google.com/</url >
329+ <releases ><enabled >true</enabled ></releases >
330+ <snapshots ><enabled >false</enabled ></snapshots >
331+ </repository >
332+ <!-- Maven china -->
333+ <repository >
334+ <id >maven.net.cn</id >
335+ <url >http://maven.net.cn/content/groups/public/</url >
336+ <releases ><enabled >true</enabled ></releases >
337+ <snapshots ><enabled >false</enabled ></snapshots >
338+ </repository >
339+ <!-- Maven oschina -->
340+ <repository >
341+ <id >CN</id >
342+ <url >http://maven.oschina.net/content/groups/public/</url >
343+ <releases ><enabled >true</enabled ></releases >
344+ <snapshots ><enabled >false</enabled ></snapshots >
345+ </repository >
346+ </repositories >
347+ <pluginRepositories >
348+ <!-- 同样为插件仓库配置多个源 -->
349+ <!-- https://maven.aliyun.com/ -->
350+ <pluginRepository >
351+ <id >aliyunmaven</id >
352+ <url >https://maven.aliyun.com/repository/public</url >
353+ <releases ><enabled >true</enabled ></releases >
354+ <snapshots ><enabled >false</enabled ></snapshots >
355+ </pluginRepository >
356+ <!-- https://mirrors.cloud.tencent.com/help/maven.html -->
357+ <pluginRepository >
358+ <id >nexus-tencentyun</id >
359+ <url >http://mirrors.cloud.tencent.com/nexus/repository/maven-public/</url >
360+ <releases ><enabled >true</enabled ></releases >
361+ <snapshots ><enabled >false</enabled ></snapshots >
362+ </pluginRepository >
363+ <!-- ibiblio -->
364+ <pluginRepository >
365+ <id >ibiblio</id >
366+ <url >http://mirrors.ibiblio.org/pub/mirrors/maven2/</url >
367+ <releases ><enabled >true</enabled ></releases >
368+ <snapshots ><enabled >false</enabled ></snapshots >
369+ </pluginRepository >
370+ <!-- 华为 使用华为Maven中央仓库时,需要在servers节点增加一个server子节点 -->
371+ <pluginRepository >
372+ <id >huaweicloud</id >
373+ <url >https://mirror.huaweicloud.com/repository/maven/</url >
374+ <releases ><enabled >true</enabled ></releases >
375+ <snapshots ><enabled >false</enabled ></snapshots >
376+ </pluginRepository >
377+ <!-- repo1.maven.org -->
378+ <pluginRepository >
379+ <id >central</id >
380+ <url >http://repo1.maven.org/maven2/</url >
381+ <releases ><enabled >true</enabled ></releases >
382+ <snapshots ><enabled >false</enabled ></snapshots >
383+ </pluginRepository >
384+ <!-- repo1.maven.apache.org -->
385+ <pluginRepository >
386+ <id >central</id >
387+ <url >http://repo1.maven.apache.org/maven2/</url >
388+ <releases ><enabled >true</enabled ></releases >
389+ <snapshots ><enabled >false</enabled ></snapshots >
390+ </pluginRepository >
391+ <!-- repo2.maven.org -->
392+ <pluginRepository >
393+ <id >repo2</id >
394+ <url >http://repo2.maven.org/maven2/</url >
395+ <releases ><enabled >true</enabled ></releases >
396+ <snapshots ><enabled >false</enabled ></snapshots >
397+ </pluginRepository >
398+ <!-- spring.io -->
399+ <pluginRepository >
400+ <id >sprintio</id >
401+ <url >https://repo.spring.io/libs-snapshot/</url >
402+ <releases ><enabled >true</enabled ></releases >
403+ <snapshots ><enabled >false</enabled ></snapshots >
404+ </pluginRepository >
405+ <!-- uk.maven.org -->
406+ <pluginRepository >
407+ <id >ui</id >
408+ <url >http://uk.maven.org/maven2/</url >
409+ <releases ><enabled >true</enabled ></releases >
410+ <snapshots ><enabled >false</enabled ></snapshots >
411+ </pluginRepository >
412+ <!-- repository.jboss.org -->
413+ <pluginRepository >
414+ <id >jboss-public-repository-group</id >
415+ <url >http://repository.jboss.org/nexus/content/groups/public</url >
416+ <releases ><enabled >true</enabled ></releases >
417+ <snapshots ><enabled >false</enabled ></snapshots >
418+ </pluginRepository >
419+ <!-- Google -->
420+ <pluginRepository >
421+ <id >google</id >
422+ <url >https://maven.google.com/</url >
423+ <releases ><enabled >true</enabled ></releases >
424+ <snapshots ><enabled >false</enabled ></snapshots >
425+ </pluginRepository >
426+ <!-- Maven china -->
427+ <pluginRepository >
428+ <id >maven.net.cn</id >
429+ <url >http://maven.net.cn/content/groups/public/</url >
430+ <releases ><enabled >true</enabled ></releases >
431+ <snapshots ><enabled >false</enabled ></snapshots >
432+ </pluginRepository >
433+ <!-- Maven oschina -->
434+ <pluginRepository >
435+ <id >CN</id >
436+ <url >http://maven.oschina.net/content/groups/public/</url >
437+ <releases ><enabled >true</enabled ></releases >
438+ <snapshots ><enabled >false</enabled ></snapshots >
439+ </pluginRepository >
440+ </pluginRepositories >
441+ </profile >
394442 </profiles >
395443
396444 <!-- activeProfiles
@@ -401,4 +449,7 @@ under the License.
401449 <activeProfile>anotherAlwaysActiveProfile</activeProfile>
402450 </activeProfiles>
403451 -->
452+ <activeProfiles >
453+ <activeProfile >multi-repos</activeProfile >
454+ </activeProfiles >
404455</settings >
0 commit comments