Appearance
vim ~/.bashrc
vim ~/.bashrc # 输入以下内容 export MAVEN_HOME=/opt/apache-maven-3.6.3 export PATH=$PATH:$MAVEN_HOME/bin source ~/.bashrc ## 查看路径 which mvn
mvn -v
mvn help:effective-settings