The maven repository replaced Ali warehouse

In order to prove that I'm still alive, writing a Maven repository change ali

Look for a file

 

Two Additional fee

 1 <mirrors>
 2     <!-- mirror
 3      | Specifies a repository mirror site to use instead of a given repository. The repository that
 4      | this mirror serves has an ID that matches the mirrorOf element of this mirror. IDs are used
 5      | for inheritance and direct lookup purposes, and must be unique across the set of mirrors.
 6      |
 7     <mirror>
 8       <id>mirrorId</id>
 9       <mirrorOf>repositoryId</mirrorOf>
10       <name>Human Readable Name for this Mirror.</name>
11       <url>http://my.repository.com/repo/path</url>
12     </mirror>
13      -->
14     
15       
16     <mirror>
17         <id>alimaven</id>
18         <mirrorOf>*</mirrorOf>
19         <name>aliyun maven</name>
20         <url>http://maven.aliyun.com/nexus/content/repositories/central/</url>
21     </mirror>
22 
23   
24   </mirrors>
View Code

(The main content added) triple point here

<mirror>
        <id>alimaven</id>
        <mirrorOf>*</mirrorOf>
        <name>aliyun maven</name>
        <url>http://maven.aliyun.com/nexus/content/repositories/central/</url>
 </mirror>

Four save files (ok)

Five index update

 

I wish you all six BHC

Website: http: //www.tonyplot.xyz/

Guess you like

Origin www.cnblogs.com/money131/p/11139375.html