✏️ 修改版本

This commit is contained in:
Zhang Peng 2018-09-29 10:31:06 +08:00
parent e905a28f93
commit ad48adce61
2 changed files with 2 additions and 4 deletions

View File

@ -3,9 +3,7 @@
使用方法:
```sh
wget --no-check-certificate --no-cookies https://raw.githubusercontent.com/dunwu/linux/master/codes/deploy/tool/maven/install-maven3.sh
chmod -R 777 install-maven3.sh
./install-maven3.sh
curl -o- https://raw.githubusercontent.com/dunwu/linux/master/codes/deploy/tool/maven/install-maven3.sh | bash
```
脚本会下载解压 maven 到 `/opt/maven` 路径下。

View File

@ -13,7 +13,7 @@ echo -e "\n>>>>>>>>> install maven"
mkdir -p /opt/maven
cd /opt/maven
version=3.2.5
version=3.5.4
wget --no-check-certificate --no-cookies --header "Cookie: oraclelicense=accept-securebackup-cookie" http://mirrors.tuna.tsinghua.edu.cn/apache/maven/maven-3/${version}/binaries/apache-maven-${version}-bin.tar.gz
tar -zxvf apache-maven-${version}-bin.tar.gz