Home >Database >Mysql Tutorial >Maven安装(Maven学习2)

Maven安装(Maven学习2)

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-06-07 15:32:031359browse

1 安装jdk 2 下载:http://maven.apache.org/ 3 解压缩:apache-maven-xxxx.bin.zip 4 设置环境变量:MAVEN_HOME D:\ProgramFiles\apache-maven-xxxx 5 设置系统变量Path: D:\ProgramFiles\apache-maven-xxxx\bin 6 查询是否配置成功: 命令: mvn -v ------

1 安装jdk


2 下载:http://maven.apache.org/


3 解压缩:apache-maven-xxxx.bin.zip


4 设置环境变量:MAVEN_HOME        D:\ProgramFiles\apache-maven-xxxx


5 设置系统变量Path:    D:\ProgramFiles\apache-maven-xxxx\bin


6 查询是否配置成功: 命令:  mvn -v


-----------------------------------华丽分割------------------------------------------

maven目录结构介绍:

1 bin目录: 可执行文件的目录,主要有两个命令:mvn  , mvnDebug

mvn.bat,mvnDebug.bat;windows执行文件      mvn  mvnDebug linux执行文件


2 boot目录: 一个maven自己的一个类加载器


3 lib目录:运行所需的jar包


4 conf  核心接口 xml配置文件


Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn