栏目分类:
子分类:
返回
名师互学网用户登录
快速导航关闭
当前搜索
当前分类
子分类
实用工具
热门搜索
名师互学网 > IT > 软件开发 > 后端开发 > Java

Nexus 3.31.1 maven 私服 仓库和IntelliJ IDEA 2021.2 实战篇 linux

Java 更新时间: 发布时间: IT归档 最新发布 模块sitemap 名妆网 法律咨询 聚返吧 英语巴士网 伯小乐 网商动力

Nexus 3.31.1 maven 私服 仓库和IntelliJ IDEA 2021.2 实战篇 linux


文章目录
        • 一、maven配置
          • 1. 私服配置
          • 2. 替换后的配置
        • 二、IntelliJ IDEA
          • 2.1. 创建项目
          • 2.2. 指定配置
          • 2.3. 下载依赖
          • 三、nexus3 监控
          • 3.1. 查看依赖版本
          • 3.2. 版本对比
          • 3.3. aliyun 仓库地址

一、maven配置 1. 私服配置

在本地的maven 配置settings.xml内容,用下面内容覆盖





    
    

    
    

    
        
            local-test-release
            admin
            admin
        
    

    
        
            local-test-group
            *
            http://127.0.0.1:8081/repository/local-test-group/
            
            *
        
    

    
        
            nexus
            
                
                
                    nexus
                    http://127.0.0.1:8081/repository/local-test-group/
                    
                        true
                    
                    
                        true
                    
                
            
            
                
                
                    nexus
                    http://127.0.0.1:8081/repository/local-test-group/
                    
                        true
                    
                    
                        true
                    
                
            
        
    
    
    
        nexus
    


2. 替换后的配置

二、IntelliJ IDEA

idea 测试
新建项目或者在现有的项目中添加依赖都可以,要是在现有的项目中添加MySQL依赖,刷新maven

2.1. 创建项目


2.2. 指定配置

2.3. 下载依赖

三、nexus3 监控 3.1. 查看依赖版本

这里以spring-boot-starter-web 2.5.7依赖查看

咱们只要下载过得maven依赖都会上传 nexus3 私服仓库中

3.2. 版本对比

3.3. aliyun 仓库地址

https://developer.aliyun.com/mvn/guide

转载请注明:文章转载自 www.mshxw.com
本文地址:https://www.mshxw.com/it/591208.html
我们一直用心在做
关于我们 文章归档 网站地图 联系我们

版权所有 (c)2021-2022 MSHXW.COM

ICP备案号:晋ICP备2021003244-6号