Apache Maven (Windows) 3.6.1

Apache-Maven:

  下载::maven.apache.org

  配置:

    设置环境变量:${安装目录}\bin

      Cmd测试:mvn -v

    更改默认仓库位置:${安装目录}\conf\setting.xml

<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
          xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd">
  <!-- localRepository
   | The path to the local repository maven will use to store artifacts.
   |
   | Default: ${user.home}/.m2/repository
  <localRepository>/path/to/local/repo</localRepository>
  -->
  <localRepository>自定义目录(/\都可)</localRepository>

    Cmd测试:mvn help:system 成功则 自定义目录下多出一些文件

猜你喜欢

转载自www.cnblogs.com/zhaojjiang/p/10886899.html