码迷,mamicode.com
首页 > 其他好文 > 详细

maven切换数据仓库

时间:2018-09-18 11:12:41      阅读:386      评论:0      收藏:0      [点我收藏+]

标签:window   col   pac   win   ref   新建   style   nbsp   settings   

 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切换数据仓库

标签:window   col   pac   win   ref   新建   style   nbsp   settings   

原文地址:https://www.cnblogs.com/ssyuhh/p/9667037.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!