码迷,mamicode.com
首页 > 其他好文 > 详细

2) 下载Maven

时间:2016-08-02 22:19:04      阅读:160      评论:0      收藏:0      [点我收藏+]

标签:

技术分享

 

http://maven.apache.org/

http://maven.apache.org/download.cgi

Maven 3.3.3 (Binary tar.gz)

Maven 3.3.3 (Binary zip)

Maven 3.3.3 (Source tar.gz)

Maven 3.3.3 (Source zip)

注:具体版本以官网为准。

这几个包的区别:

Installing Maven
  ----------------
1) Unpack the archive where you would like to store the binaries, eg:

Unix-based operating systems (Linux, Solaris and Mac OS X)
 tar zxvf apache-maven-3.x.y.tar.gz
    
Windows
 unzip apache-maven-3.x.y.zip

2) A directory called "apache-maven-3.x.y" will be created.
3) Add the bin directory to your PATH, eg:

Unix-based operating systems (Linux, Solaris and Mac OS X)
 export PATH=/usr/local/apache-maven-3.x.y/bin:$PATH
    
Windows
 set PATH="c:\program files\apache-maven-3.x.y\bin";%PATH%

4) Make sure JAVA_HOME is set to the location of your JDK

5) Run "mvn --version" to verify that it is correctly installed.

                                                                                                                                                            ——摘自“README.txt"

所以区别显而易见:

.tar.gz用于linux

.zip 用于windows

另外src.zip 是源码

.zip 是安装包

2) 下载Maven

标签:

原文地址:http://www.cnblogs.com/zno2/p/4496566.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!