跳至主要内容

Apache Maven

Installation

  1. Download Maven Binary tar.gz archive from Maven – Download Apache Maven
  2. Follow Installing Apache Maven,
    1. Extract distribution archive in any directory
    2. Add the bin directory of the created directory apache-maven to the PATH environment variable
    3. Confirm with mvn -v in a new shell. The result should look similar to
      Apache Maven 3.9.0 (9b58d2bad23a66be161c4664ef21ce219c2c8584)
      Maven home: /opt/apache-maven-3.9.0
      Java version: 1.8.0_45, vendor: Oracle Corporation
      Java home: /Library/Java/JavaVirtualMachines/jdk1.8.0_45.jdk/Contents/Home/jre
      Default locale: en_US, platform encoding: UTF-8
      OS name: "mac os x", version: "10.8.5", arch: "x86_64", family: "mac"

Brief Intro

See Also