添加 mvn-home.sh
This commit is contained in:
parent
58f4420d6a
commit
6366cfea94
5
mvn-home.sh
Normal file
5
mvn-home.sh
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
echo "export MAVEN_HOME=/usr/local/apache-maven-3.9.6" | tee -a /etc/profile
|
||||||
|
echo "export PATH=${PATH}:/usr/local/apache-maven-3.9.6/bin" | tee -a /etc/profile
|
||||||
|
source /etc/profile
|
||||||
|
mvn -v
|
Loading…
Reference in New Issue
Block a user