一、一般使用Maven中央仓库地址

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 的配置文件中。

二、Maven 中央仓库地址大全

1、阿里中央仓库(首选推荐)

<repository>  <id>alimaven</id><name>aliyun maven</name><url>http://maven.aliyun.com/nexus/content/groups/public/</url>
</repository>

2、camunda.com 中央仓库(第2推荐使用)

<repository>  <id>activiti-repos2</id>  <name>Activiti Repository 2</name>  <url>https://app.camunda.com/nexus/content/groups/public</url>
</repository>

3、spring.io 中央仓库

<repository>  <id>springsource-repos</id>  <name>SpringSource Repository</name>  <url>http://repo.spring.io/release/</url>
</repository>

4、maven.apache.org 中央仓库

<repository>  <id>central-repos</id>  <name>Central Repository</name>  <url>http://repo.maven.apache.org/maven2</url>
</repository>

5、maven.org 中央仓库

<repository>  <id>central-repos1</id>  <name>Central Repository 2</name>  <url>http://repo1.maven.org/maven2/</url>
</repository>

6、alfresco.com 中央仓库(第3推荐使用)

<repository>  <id>activiti-repos</id>  <name>Activiti Repository</name>  <url>https://maven.alfresco.com/nexus/content/groups/public</url>
</repository>

7、oschina 中央仓库(需要x墙哟)

<repository>  <id>oschina-repos</id>  <name>Oschina Releases</name>  <url>http://maven.oschina.net/content/groups/public</url>
</repository>

8、oschina thinkgem 中央仓库(需要x墙哟)

<repository>   <id>thinkgem-repos</id>   <name>ThinkGem Repository</name>  <url>http://git.oschina.net/thinkgem/repos/raw/master</url>
</repository>

9、java.net 中央仓库(需要x墙哟)

<repository>  <id>java-repos</id>  <name>Java Repository</name>  <url>http://download.java.net/maven/2/</url>
</repository>

10、github.com 中央仓库(需要x墙哟)

<repository>   <id>thinkgem-repos2</id>   <name>ThinkGem Repository 2</name>  <url>https://raw.github.com/thinkgem/repository/master</url>
</repository>

三、Maven 中央仓库配置示例

这里使用 Dubbo官方的中央仓库为示例,在 settings.xml 的 profiles 节点中添加如下内容:

<profile><id>jdk‐1.8</id><activation><activeByDefault>true</activeByDefault> <jdk>1.8</jdk></activation><properties><maven.compiler.source>1.8</maven.compiler.source><maven.compiler.target>1.8</maven.compiler.target><maven.compiler.compilerVersion>1.8</maven.compiler.compilerVersion></properties><!-- dubbo 官方的解决方案 --><repositories><repository><id>sonatype-nexus-snapshots</id><url>https://oss.sonatype.org/content/repositories/snapshots</url><releases><enabled>false</enabled></releases><snapshots><enabled>true</enabled></snapshots></repository></repositories>
</profile>

Maven中央仓库地址大全相关推荐

  1. Maven中央仓库地址大全,Maven中央仓库配置示例

    < Maven 中央仓库地址大全 > 在上一篇文章中完成了 < Maven镜像地址大全 >,后来又花了时间又去收集并整理了关于 maven 远程仓库地址,并整理于此,关于 Ma ...

  2. Maven 中央仓库地址大全

    1. http://www.sonatype.org/nexus/ 2. http://mvnrepository.com/ (本人推荐仓库) 3. http://repo1.maven.org/ma ...

  3. 最全的Maven中央仓库地址大全

    #史上Maven 中央仓库地址大全 1.阿里中央仓库(首推1) <repository><id>alimaven</id><name>aliyun ma ...

  4. Maven中央仓库地址配置大全

    第一种:直接在项目的 pom.xml 文件中进行修改(不推荐,尤其是在多人协助的开发过程中非常的费事费力): 第二种:将 Maven 的远程仓库统一的配置到 Maven 的 Settings.xml ...

  5. Maven 中央仓库地址

    Maven 中央仓库地址: http://www.sonatype.org/nexus/ http://mvnrepository.com/ (本人推荐仓库) http://repo1.maven.o ...

  6. Maven中央仓库地址(实用版)

    最近做项目的时候,一直发现常用的oschina maven源一直都没有反应,后面发现原来oschina竟然关闭了maven源服务,后面经同事推荐了阿里云的maven源,这速度杠杠的 Maven 中央仓 ...

  7. Maven中央仓库地址整理

    最近做项目的时候,一直发现常用的oschina maven源一直都没有反应,后面发现原来oschina竟然关闭了maven源服务,后面经同事推荐了阿里云的maven源,这速度杠杠的 Maven 中央仓 ...

  8. Maven中央仓库地址

    Maven 中央仓库地址有一下几个(可能这里不全,但一定能够使用) 1:http://mvnrepository.com/    (属于美化版本,国外网站,在国内可能下载比较慢) 2:http://r ...

  9. maven中央仓库地址(支持db2,informix等)

    maven中央仓库地址(以下设置写在pom.xml文件里): <repositories> <repository><id>nexus</id>< ...

最新文章

  1. rm排除某个文件进行删除
  2. 【任务脚本】0523更新京东618叠蛋糕任务脚本全自动脚本,大神更新了京东任务全自动程序...
  3. C++ 一个例子彻底搞清楚拷贝构造函数和赋值运算符重载的区别
  4. 用tomcat 发布mule 服务 (转)
  5. apk,task,进程区别
  6. 在2020年学习cocos游戏引擎
  7. 编写Python脚本来获取Google搜索结果的示例
  8. win7计算机文件夹打开慢,win7开机很慢怎么办 win7电脑开机慢的优化教程
  9. python爬虫requests简单案例_python网络爬虫(三)requests库的13个控制访问参数及简单案例...
  10. HDU1084 What Is Your Grade?【排序+水题】
  11. 【Android命令行】jarsigner参数详解
  12. java密码加密方式_我去,同事居然用明文存储密码!!!
  13. 关于 Unbalanced calls to begin/end appearance transitions
  14. 艾司博讯:拼多多推广投放时间设置步骤
  15. 迷宫生成算法(二)(C++)
  16. 白鹭引擎学习笔记(二)
  17. k3 审核流程图_K3单据使用解释及流程图明细
  18. WEB、WEB标准、W3C的理解
  19. C++ accumulate()函数
  20. 帮我写一个X波段小型化带通滤波器开题报告

热门文章

  1. ios 专业制作马甲包、解决审核不通过的各种疑难杂症
  2. PHY6252是一款超低功耗物联网蓝牙无线通信芯片
  3. javawebJAVA JSP企业合同管理系统JSP合同签订管理系统JSP合同备案系统
  4. 图像分类实战:mobilenetv2从训练到TensorRT部署(pytorch)
  5. 共享网络获取树莓派ip_用优盘共享文件多不方便,简单几步用树莓派搭建个私有云盘...
  6. S7-1500系统内使用ET200S 1SI模块实现Modbus 主站通信
  7. C# 二维码生成支持汉字中间带图片
  8. 破解手机私密相册app的密码 wpjpg格式图片
  9. 干选机的工作原理与维护
  10. React-后台管理系统项目实战