配置Setting.xml文件提高maven更新下载jar包速度
2020-12-13 02:19
标签:镜像 The nbsp epo tor ali central one pat 配置Setting.xml文件提高maven更新下载jar包速度 标签:镜像 The nbsp epo tor ali central one pat 原文地址:https://www.cnblogs.com/gavincoder/p/11031573.htmlxml 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">
localRepository>E:\maven\repositorylocalRepository>
mirrors>
mirror>
id>alimaven-centralid>
mirrorOf>centralmirrorOf>
name>aliyun mavenname>
url>http://maven.aliyun.com/nexus/content/repositories/central/url>
mirror>
mirrors>
mirror>
id>alimavenid>
name>aliyun mavenname>
url>http://maven.aliyun.com/nexus/content/groups/public/url>
mirrorOf>centralmirrorOf>
mirror>
mirrors>
mirror>
id>jboss-public-repository-groupid>
mirrorOf>centralmirrorOf>
name>JBoss Public Repository Groupname>
url>http://repository.jboss.org/nexus/content/groups/publicurl>
mirror>
mirrors>
profiles>
profile>
id>nexusid>
repositories>
repository>
id>nexusid>
name>local private nexusname>
url>http://maven.oschina.net/content/groups/public/url>
releases>
enabled>trueenabled>
releases>
snapshots>
enabled>falseenabled>
snapshots>
repository>
repository>
id>spring-snapshotsid>
name>Spring Snapshotsname>
url>https://repo.spring.io/snapshoturl>
snapshots>
enabled>trueenabled>
snapshots>
repository>
repository>
id>spring-milestonesid>
name>Spring Milestonesname>
url>https://repo.spring.io/milestoneurl>
snapshots>
enabled>falseenabled>
snapshots>
repository>
repositories>
pluginRepositories>
pluginRepository>
id>nexusid>
name>local private nexusname>
url>http://maven.oschina.net/content/groups/public/url>
releases>
enabled>trueenabled>
releases>
snapshots>
enabled>falseenabled>
snapshots>
pluginRepository>
pluginRepositories>
profile>
profiles>
settings>
文章标题:配置Setting.xml文件提高maven更新下载jar包速度
文章链接:http://soscw.com/essay/25322.html