Maven-2:本地仓库与重置

来源:互联网 发布:萧山网络问政 编辑:程序博客网 时间:2024/05/29 17:38

Maven缺省本地仓库地址:~/.m2/repository

修改:

<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: ~/.m2/repository   -->  <localRepository>F:\maven-repository</localRepository></settings>



原创粉丝点击