更新 ubuntu-mvn.sh
This commit is contained in:
parent
6366cfea94
commit
3fb6a1dfa6
@ -2,7 +2,4 @@
|
|||||||
cd /usr/local
|
cd /usr/local
|
||||||
wget https://dlcdn.apache.org/maven/maven-3/3.9.6/binaries/apache-maven-3.9.6-bin.tar.gz
|
wget https://dlcdn.apache.org/maven/maven-3/3.9.6/binaries/apache-maven-3.9.6-bin.tar.gz
|
||||||
tar -zvxf apache-maven-3.9.6-bin.tar.gz
|
tar -zvxf apache-maven-3.9.6-bin.tar.gz
|
||||||
echo "export MAVEN_HOME=/usr/local/apache-maven-3.9.6" | tee -a /etc/profile
|
bash mvn-home.sh
|
||||||
echo "export PATH=${MAVEN_HOME}/bin:${PATH}" | tee -a /etc/profile
|
|
||||||
source /etc/profile
|
|
||||||
mvn -v
|
|
Loading…
Reference in New Issue
Block a user