华为镜像jdk,阿里maven地址
https://repo.huaweicloud.com/java/jdk/
maven仓库
https://developer.aliyun.com/mirror/maven
安装了maven,但在执行mvn -v或maven-versions时提示bash: maven: 未找到命令... 应该是环境变量出错,把MAVEN_HOME的路径换到PATH上就可以了,如下: export JAVA_HOME=/usr/local/java/jdk1.8.0_45 export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/jre/lib/rt.jar:$JAVA_HOME/lib/tools.jar export MAVEN_HOME=/usr/local/maven/apache-maven-3.6.1 export PATH=$JAVA_HOME/bin:$PATH:$MAVEN_HOME/bin