win7 环境安装maven 和 Spring Boot CLI

1.maven

What is it?
  -----------

  Maven is a software project management and comprehension tool. Based on
  the concept of a Project Object Model (POM), Maven can manage a project's
  build, reporting and documentation from a central piece of information.

  Documentation
  -------------

  The most up-to-date documentation can be found at https://maven.apache.org/.

安装步骤:
  1. 下载apache-maven-3.5.0-bin.tar.gz
  2. 解压apache-maven-3.5.0-bin
  3. 保证java jdk已安装
  4. 添加E:\programs\apache-maven-3.5.0-bin\apache-maven-3.5.0\bin 到环境变量PATH
  5. 测试mvn -v,效果如下图


附:
Installing Maven
  ----------------

  1) Unpack the archive where you would like to store the binaries, e.g.:

    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, e.g.:

    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.

Maven下载地址:
http://maven.apache.org/download.cgi

2. spring-boot-cli
安装步骤:
  1. 下载 spring-boot-cli-1.5.8.RELEASE-bin.zip
  2. 解压spring-boot-cli-1.5.8.RELEASE-bin
  3. 保证java jdk已安装
  4. 添加E:\programs\spring-boot-cli-1.5.8.RELEASE-bin\spring-1.5.8.RELEASE\bin到环境变量PATH
  5. 测试spring --version,效果如下图


附:
Environment Variables
---------------------
No specific environment variables are required to run the CLI, however, you may want to
set SPRING_HOME to point to a specific installation.  You should also add SPRING_HOME/bin
to your PATH environment variable.


你可能感兴趣的:(瞎整)