要安装Maven,可以从Maven官网下载最新的Maven 3.6.x,然后在本地解压,设置几个环境变量:

    1. M2_HOME=/path/to/maven-3.6.x
    2. PATH=$PATH:$M2_HOME/bin