添加 mvn-home.sh

This commit is contained in:
8ga 2025-01-10 14:53:34 +08:00
parent 58f4420d6a
commit 6366cfea94

5
mvn-home.sh Normal file
View 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