zoukankan      html  css  js  c++  java
  • 2.maven 安装配置

    版权声明:本文为博主原创文章,未经博主同意不得转载。 https://blog.csdn.net/huangbin10025/article/details/24518577

     System Requirements

      JDK:
        1.5 or above (this is to execute Maven - it still allows you to build against 1.3 and prior JDK's).
      Memory:
        No minimum requirement.
      Disk:
        No minimum requirement. Approximately 100MB will be used for your local repository,
        however this will vary depending on usage and can be removed and redownloaded at
        any time.
      Operating System:
        No minimum requirement. On Windows, Windows NT and above or Cygwin is required for
        the startup scripts. Tested on Windows XP, Fedora Core and Mac OS X.

     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 2000/XP
          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 2000/XP
          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.

查看全文
  • 相关阅读:
    dirs命令
    pwd命令
    ls命令
    rmdir命令
    install命令和cp命令的区别
    ./configure,make,make install的作用
    install 命令
    Make 命令
    linux configure使用方法
    Linux下which、whereis、locate、find命令的区别
  • 原文地址:https://www.cnblogs.com/ldxsuanfa/p/10917215.html
  • Copyright © 2011-2022 走看看