diff --git a/codes/deploy/tool/maven/README.md b/codes/deploy/tool/maven/README.md index 842ce1d..61efa54 100644 --- a/codes/deploy/tool/maven/README.md +++ b/codes/deploy/tool/maven/README.md @@ -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 diff --git a/codes/deploy/tool/maven/settings-aliyun.xml b/codes/deploy/tool/maven/settings-aliyun.xml new file mode 100644 index 0000000..a996086 --- /dev/null +++ b/codes/deploy/tool/maven/settings-aliyun.xml @@ -0,0 +1,21 @@ + + + + + + + + aliyun + Aliyun + http://maven.aliyun.com/nexus/content/groups/public + central + + + repo2 + Mirror from Maven Repo2 + http://repo2.maven.org/maven2/ + central + + + \ No newline at end of file