您的位置:首页 > 其它

Windows下 Maven 使用 阿里云镜像配置

2017-08-12 08:52 441 查看



 
新建或者修改文件: C:\Users\user\.m2\settings.xml
 

1 <settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
2       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3       xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0
4                           https://maven.apache.org/xsd/settings-1.0.0.xsd"> 5       <localRepository/>
6       <interactiveMode/>
7       <usePluginRegistry/>
8       <offline/>
9       <pluginGroups/>
10       <servers/>
11      <mirrors>
12     <mirror>
13       <id>alimaven</id>
14       <name>aliyun maven</name>
15       <url>http://maven.aliyun.com/nexus/content/groups/public/</url>
16       <mirrorOf>central</mirrorOf>
17     </mirror>
18   </mirrors>
19       <proxies/>
20       <profiles/>
21       <activeProfiles/>
22     </settings>


内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  maven