maven-settings.xml配置本地仓库目录
<localRepository>D:\software\maven\repo</localRepository>
maven-settings.xml配置阿里云,*仓库,CDH仓库
<mirror>
<id>alimaven</id>
<name>aliyun maven</name>
<url>http://maven.aliyun.com/nexus/content/groups/public/</url>
<mirrorOf>central</mirrorOf>
</mirror>
<mirror>
<id>central-repos</id>
<name>Nexus aliyun</name>
<url>http://repo.maven.apache.org/maven2</url>
<mirrorOf>central1</mirrorOf>
</mirror>
<mirror>
<id>cloudera</id>
<name>CDH</name>
<url>https://repository.cloudera.com/artifactory/cloudera-repos/</url>
<mirrorOf>central2</mirrorOf>
</mirror>