一.Maven中央仓库提交过程 ① https://issues.sonatype.org 工单管理地址,就是申请上传资格和groupId 的地方. ② https://oss.sonatype.org/#welcome 构件仓库,把jar包上传到这里,Release 之后就会同步到maven中央仓库. ③ http://search.maven.org/ 最终表现在可以在这里搜索到. 利用Sonatype OSSRH可以把jar等资源提交给Maven的中央仓库. 二.Sonatype OS
分两步: STEP :配置maven: STEP :配置IDEA.区分默认配置和项目级配置. STEP 1:maven中央库配置 国内常用的maven库主要是阿里云maven库.华为云maven. 其中阿里云maven库配置如下: 配置文件路径为conf/settings.xml <mirrors> <!-- mirror | Specifies a repository mirror site to use instead of a given repository. The repo