安装Maven之前先确定JDK已经安装配置完成。
MAVEN_HOME = D:\Program Files (x86)\apache-maven-3.3.9
Path = *;%MAVEN_HOME%\bin
打开cmd命令行
C:\Users\cyyun>mvn -version Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 2015-11-11T00:41:4 7+08:00) Maven home: D:\ProgramFiles (x86)\apache-maven-3.3.9\bin\.. Java version: 1.8.0_152, vendor: Oracle CorporaTIon Java home: D:\ProgramFiles (x86)\Java\jdk1.8.0_152\jreDefault locale: zh_CN, platform encoding: GBK OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows" 3.配置setTIngs.xml文件
文件路径地址D:\Program Files (x86)\apache-maven-3.3.9\conf\setTIngs.xml
3.1.修改本地仓库地址
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)