Apache-Maven
下载: maven.apache.org
配置:
-
设置环境变量:
${安装目录}in
-
Cmd
测试:mvn -v
-
更改默认仓库位置:
${安装目录}confsetting.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
成功则 自定义目录下多出一些文件