<!-- 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>D:\tool\maven\repository</localRepository>
私服仓库(阿里) 修改conf下的settings.xml
<mirrors><!-- mirror
| Specifies a repository mirror site to use instead of a given repository. The repository that
|this mirror serves has an ID that matches the mirrorOf element of this mirror. IDs are used
|for inheritance and direct lookup purposes, and must be unique across the set of mirrors.|<mirror><id>mirrorId</id><mirrorOf>repositoryId</mirrorOf><name>Human Readable Name forthis Mirror.</name><url>http://my.repository.com/repo/path</url></mirror>--><mirror><id>aliyunmaven</id><mirrorOf>*</mirrorOf><name>maven for ali</name><url>https://maven.aliyun.com/repository/public</url></mirror></mirrors>