配置MAVEN_HOMEapache
MAVEN_HOME D:\soft\apache-maven-3.6.1
path變量添加到maven的bin目錄:maven
而後輸入 mvn -vspa
有maven相關的提示信息出現則說明maven安裝成功。code