#!/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