mirror of
https://github.com/dunwu/linux-tutorial.git
synced 2024-04-15 19:55:24 +08:00
12 lines
337 B
Markdown
12 lines
337 B
Markdown
# 安装 Maven
|
|
|
|
使用方法:
|
|
|
|
```sh
|
|
curl -o- https://github.com/dunwu/os-tutorial/blob/master/codes/linux/ops/service/maven/install-maven3.sh | bash
|
|
```
|
|
|
|
脚本会下载解压 maven 到 `/opt/maven` 路径下。
|
|
|
|
如果需要使用国内镜像(如 aliyun 镜像)加速,可以使用 settings-aliyun.xml 替换默认 settings.xml
|