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

15 lines
523 B
Markdown
Raw Normal View History

2019-02-22 17:09:40 +08:00
# 脚本使用说明
2018-02-23 17:33:12 +08:00
2019-02-22 17:09:40 +08:00
## 安装 Maven
使用方法:执行以下任意命令即可执行脚本。
2018-02-23 17:33:12 +08:00
```sh
2019-02-22 11:40:47 +08:00
curl -o- https://raw.githubusercontent.com/dunwu/os-tutorial/master/codes/linux/ops/service/maven/install-maven3.sh | bash
2019-02-22 17:09:40 +08:00
wget -qO- https://raw.githubusercontent.com/dunwu/os-tutorial/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
2019-02-22 17:09:40 +08:00
备份并替换 settings.xml本目录中的 settings-aliyun.xml使用 aliyun 镜像加速 maven