maven常用镜像源

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
<mirrors>
    <mirror>
        <id>ibiblio</id>
        <mirrorOf>central</mirrorOf>
        <name>Human Readable Name for this Mirror.</name>
        <url>https://maven.aliyun.com/mvn/view</url>
    </mirror>
    <mirror>
        <id>central</id>
        <name>Maven Repository Switchboard</name>
        <url>http://repo1.maven.org/maven2/</url>
        <mirrorOf>central</mirrorOf>
    </mirror>
    <mirror>
        <id>repo2</id>
        <mirrorOf>central</mirrorOf>
        <name>Human Readable Name for this Mirror.</name>
        <url>http://repo2.maven.org/maven2/</url>
    </mirror>
  <mirror>
        <id>jboss-public-repository-group</id>
        <mirrorOf>central</mirrorOf>
        <name>JBoss Public Repository Group</name>
        <url>http://repository.jboss.org/nexus/content/groups/public</url>
    </mirror>
     <mirror>
 
         <id>alimaven</id>
 
         <name>aliyun maven</name>
 
         <url>http://maven.aliyun.com/nexus/content/groups/public/</url>
 
         <mirrorOf>central</mirrorOf>
 
    </mirror>
        <!--<mirror>
 
        <id>nexus-aliyun</id>
 
        <mirrorOf>central</mirrorOf>
 
        <name>Nexus aliyun</name>
 
        <url>http://maven.aliyun.com/nexus/content/repositories/central</url>
 
    </mirror>-->
  </mirrors>
  <profiles>
    <profile
       <id>nexus</id>  
        <repositories
            <repository
                <id>nexus</id
                <name>local private nexus</name
                <url>https://maven.oschina.net/content/groups/public/</url
                <releases
                    <enabled>true</enabled
                </releases
                <snapshots
                    <enabled>false</enabled
                </snapshots
            </repository
        </repositories
            
        <pluginRepositories
            <pluginRepository
            <id>nexus</id
            <name>local private nexus</name
            <url>https://maven.oschina.net/content/groups/public/</url
            <releases
                <enabled>true</enabled
            </releases
            <snapshots
                <enabled>false</enabled
            </snapshots
            </pluginRepository
        </pluginRepositories
    </profile>
  </profiles>

  遇到依赖问题可以换源多尝试一下

1
2
3
4
5
6
7
8
9
10
11
12
13
14
<mirrors>
    <mirror>
   <id>aliyunmaven</id>
   <mirrorOf>*</mirrorOf>
   <name>aliyun maven</name>
   <url>https://maven.aliyun.com/repository/public</url>
   </mirror>
   <mirror>
     <id>alimaven</id>
     <name>aliyun maven</name>
     <url>http://maven.aliyun.com/nexus/content/groups/public/</url>
     <mirrorOf>central</mirrorOf>
   </mirror>
 </mirrors>

  

posted @   myWang  阅读(373)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· 【.NET】调用本地 Deepseek 模型
· CSnakes vs Python.NET:高效嵌入与灵活互通的跨语言方案对比
· DeepSeek “源神”启动!「GitHub 热点速览」
· 我与微信审核的“相爱相杀”看个人小程序副业
· Plotly.NET 一个为 .NET 打造的强大开源交互式图表库
点击右上角即可分享
微信分享提示