1-Maven安装过程
1.检测jdk安装的状况(1.6以上版本):Echo%JAVA_HOME%Java-version2.对apache-maven-3.0.5-bin.zip进行解压缩,例如解压到如下目录(解压目录不要有中文字,不要有空格):D:\javaenv\apache-maven-3.0.53.设置系统环境变量,MAVEN_HOME4.设置环境变量Path,将%MAVEN_HOME%\bin参加Path中,一定要注意要用分号;与其他值隔开5.验证安装是不是成功,打开cmd窗口,敲入mvn–v检测(1. Check the jdk installation (version 1.6 or above): Echo% JAVA_ HOME% Java-verson2. For apache-maven-3.0.5-bin Zip to decompress, for example, to the following directory (the decompressed directory should not have Chinese characters or spaces): D:javaenvapache-maven-3.0.53. Set the system environment variable, MAVEN_ HOME4. Set the environment variable Path to% MAVEN_ When HOME%bin participates in Path, be sure to use semicolons; Separate from other values 5. Verify whether the installation is successful, open the cmd window, and click mvn – v to detect)
页:
[1]