zoukankan      html  css  js  c++  java
  • 2) 下载Maven

    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 filesapache-maven-3.x.yin";%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 是安装包

    下载之前版本

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

    If you still want to use an old version you can find more information in the Maven Releases History and can download files from the archives for versions 3.0.4+ and legacy archives for earlier releases.

  • 相关阅读:
    spring容器启动
    springmvc流程
    bean作用域
    bean的生命周期
    web.xml详解
    设计模式 工厂和抽象工厂
    requests 模块
    爬虫基础
    提高级
    循环语句
  • 原文地址:https://www.cnblogs.com/zno2/p/4496566.html
Copyright © 2011-2022 走看看