更新文档

This commit is contained in:
Zhang Peng 2019-02-14 15:52:21 +08:00
parent a67edc4cb0
commit 4866bae6d3
2 changed files with 23 additions and 0 deletions

View File

@ -7,3 +7,5 @@ curl -o- https://raw.githubusercontent.com/dunwu/OS/master/codes/deploy/tool/mav
```
脚本会下载解压 maven 到 `/opt/maven` 路径下。
如果需要使用国内镜像(如 aliyun 镜像)加速,可以使用 settings-aliyun.xml 替换默认 settings.xml

View File

@ -0,0 +1,21 @@
<?xml 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">
<!-- 使用 aliyun maven 仓库加速下载 -->
<mirrors>
<mirror>
<id>aliyun</id>
<name>Aliyun</name>
<url>http://maven.aliyun.com/nexus/content/groups/public</url>
<mirrorOf>central</mirrorOf>
</mirror>
<mirror>
<id>repo2</id>
<name>Mirror from Maven Repo2</name>
<url>http://repo2.maven.org/maven2/</url>
<mirrorOf>central</mirrorOf>
</mirror>
</mirrors>
</settings>