一.setting
localRepositories 设置本地仓库位置,不设置使用默认的
mirror
server
url
profiles 针对不同环境,定义配置信息,
pluginRepositories 从什么地方下载插件
二.pom.xml
module
parent
dependency
build--resource 用于编译时排除或者包含资源文件
build--plugins 设置构建时的插件
三.本地,远程(中央,镜像 )
maven 应该是先找当前项目的repository,然后找本地,然后再找私服,最后找中央仓库
注意理解镜像是什么,镜像是指在上面找仓库的过程,如果镜像有同名ID,取镜像的地址