linux-tutorial/codes/linux/ops/service/maven/README.md

12 lines
337 B
Markdown
Raw Normal View History

2018-02-23 17:33:12 +08:00
# 安装 Maven
使用方法:
```sh
2019-02-22 11:34:34 +08:00
curl -o- https://github.com/dunwu/os-tutorial/blob/master/codes/linux/ops/service/maven/install-maven3.sh | bash
2018-02-23 17:33:12 +08:00
```
2018-09-29 10:16:24 +08:00
脚本会下载解压 maven 到 `/opt/maven` 路径下。
2019-02-14 15:52:21 +08:00
如果需要使用国内镜像(如 aliyun 镜像)加速,可以使用 settings-aliyun.xml 替换默认 settings.xml