maven切换数据仓库

Posted ssyuhh

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了maven切换数据仓库相关的知识,希望对你有一定的参考价值。

 1 <?xml version="1.0" encoding="UTF-8"?>
 2 <settings xmlns="s="http://maven.apache.org/SETTINGS/1.0.0"
 3 xm"
 4 xmlns:xsi="i="http://www.w3.org/2001/XMLSchema-instance"
 5 xs"
 6 xsi:schemaLocation="n="http://maven.apache.org/SETTINGS/1.0.0 htt .0 http://maven.apache.org/xsd/settings-1.0.0.xsd">
 7 <">
 8 <mirrors>
 9 <mirror>
10 <id>nexus</id>
11 <name>Tedu Maven</name>
12 <mirrorOf>*</mirrorOf>
13 <url>rl>http://maven.aliyun.com/nexus/content/groups/public</ur</url>
14 </mirror>
15 </mirrors>
16 </settings>

 

window-->preferences-->maven-->user settings-->global settings把新建的xml指定过去就ok了

 

以上是关于maven切换数据仓库的主要内容,如果未能解决你的问题,请参考以下文章