Mac下配置Maven环境

export JAVA_HOME=$(/usr/libexec/java_home)

M2_HOME=/develop/apache-maven-3.3.1
PATH=$PATH:$M2_HOME/bin

export M2_HOME
export PATH

相关推荐