这里只说关于配置文件的配置,相信大家学到这jdk环境,和maven环境应该不是问题,环境不懂自行百度
//这里配置本地仓库位置
<!-- 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>C:\Maven\repository</localRepository>
var foo = 'bar';
主要就是这个仓库配置
<localRepository>C:\Maven\repository</localRepository>
Maven镜像的配置
//这里配置如下镜像,亲测速度很快,下面有很多镜像 自行选择,我是全粘的
<!-- mirrors
| This is a list of mirrors to be used in downloading artifacts from remote repositories.
|
| It works like this: a POM may declare a repository to use in resolving certain artifacts.
| However,