diff --git a/mvn-home.sh b/mvn-home.sh new file mode 100644 index 0000000..90f5d10 --- /dev/null +++ b/mvn-home.sh @@ -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 \ No newline at end of file