✏️ 修改版本
parent
e905a28f93
commit
ad48adce61
|
@ -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` 路径下。
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue