1. http://www.sonatype.org/nexus/
2. http://mvnrepository.com/ (本人推荐仓库)
3. http://repo1.maven.org/maven2
关于 Maven 远程仓库地址的配置方式有两种:
第1种:直接在项目的 pom.xml 文件中进行修改(不推荐,尤其是在多人协助的开发过程中非常的费事费力);
第2种:将 Maven 的远程仓库统一的配置到 Maven 的 Settings.xml 的配置文件中。
1、阿里中央仓库(首选推荐)
alimaven
aliyun maven
http://maven.aliyun.com/nexus/content/groups/public/
2、camunda.com 中央仓库(第2推荐使用)
activiti-repos2
Activiti Repository 2
https://app.camunda.com/nexus/content/groups/public
3、spring.io 中央仓库
springsource-repos
SpringSource Repository
http://repo.spring.io/release/
4、maven.apache.org 中央仓库
central-repos
Central Repository
http://repo.maven.apache.org/maven2
5、maven.org 中央仓库
central-repos1
Central Repository 2
http://repo1.maven.org/maven2/
6、alfresco.com 中央仓库(第3推荐使用)
activiti-repos
Activiti Repository
https://maven.alfresco.com/nexus/content/groups/public
7、oschina 中央仓库(需要x墙哟)
oschina-repos
Oschina Releases
http://maven.oschina.net/content/groups/public
8、oschina thinkgem 中央仓库(需要x墙哟)
thinkgem-repos
ThinkGem Repository
http://git.oschina.net/thinkgem/repos/raw/master
9、java.net 中央仓库(需要x墙哟)
java-repos
Java Repository
http://download.java.net/maven/2/
10、github.com 中央仓库(需要x墙哟)
thinkgem-repos2
ThinkGem Repository 2
https://raw.github.com/thinkgem/repository/master
这里使用 Dubbo官方的中央仓库为示例,在 settings.xml 的 profiles 节点中添加如下内容:
jdk‐1.8
true
1.8
1.8
1.8
1.8
sonatype-nexus-snapshots
https://oss.sonatype.org/content/repositories/snapshots
false
true