网站建设报价模板下载,wordpress漏洞修复,网站怎么做团购,wordpress 用户遍历文章目录一、nexus3 配置1. 新建仓库概述2. 阿里云代理仓库3. 自己的仓库4. 自己的仓库组二、maven配置2.1. 私服配置2.2. 替换后的配置三、IntelliJ IDEA3.1. 创建项目3.2. 指定配置3.3. 下载依赖四、nexus3 监控4.1. 查看依赖版本4.2. 版本对比4.3. aliyun 仓库地址一、nexus… 文章目录一、nexus3 配置1. 新建仓库概述2. 阿里云代理仓库3. 自己的仓库4. 自己的仓库组二、maven配置2.1. 私服配置2.2. 替换后的配置三、IntelliJ IDEA3.1. 创建项目3.2. 指定配置3.3. 下载依赖四、nexus3 监控4.1. 查看依赖版本4.2. 版本对比4.3. aliyun 仓库地址一、nexus3 配置
1. 新建仓库概述
总共新建3各仓库 一个是国内开源仓库加速下载 一个是自己的仓库用于存放自己公司的jar 一个是子类型的仓库用于将上述两个组成一个地址
2. 阿里云代理仓库
-点击设置新建仓库 类型选择 maven2 proxy Name
aliyun-proxyURL
http://maven.aliyun.com/repository/public3. 自己的仓库
只输入名称其他的都不用做默认即可 Name
local-test-release4. 自己的仓库组 local-test-group 包含了阿里云代理仓库地址以及存放自己jar的仓库地址 Name
local-test-group将aliyun-proxy和local-test-release 两个仓库都添加进来保存
二、maven配置
2.1. 私服配置
在本地的maven 配置settings.xml内容用下面内容覆盖
?xml version1.0 encodingUTF-8?settings xmlnshttp://maven.apache.org/SETTINGS/1.0.0xmlns:xsihttp://www.w3.org/2001/XMLSchema-instancexsi:schemaLocationhttp://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsdpluginGroups/pluginGroupsproxies/proxiesserversserveridlocal-test-release/idusernameadmin/usernamepasswordadmin/password/server/serversmirrorsmirroridlocal-test-group/idname*/nameurlhttp://127.0.0.1:8081/repository/local-test-group//url!--*指的是访问任何仓库都使用我们的私服--mirrorOf*/mirrorOf/mirror/mirrorsprofilesprofileidnexus/idrepositories!-- 私有库地址--repositoryidnexus/idurlhttp://127.0.0.1:8081/repository/local-test-group//urlreleasesenabledtrue/enabled/releasessnapshotsenabledtrue/enabled/snapshots/repository/repositoriespluginRepositories!--插件库地址--pluginRepositoryidnexus/idurlhttp://127.0.0.1:8081/repository/local-test-group//urlreleasesenabledtrue/enabled/releasessnapshotsenabledtrue/enabled/snapshots/pluginRepository/pluginRepositories/profile/profilesactiveProfilesactiveProfilenexus/activeProfile/activeProfiles/settings2.2. 替换后的配置 三、IntelliJ IDEA idea 测试 新建项目或者在现有的项目中添加依赖都可以要是在现有的项目中添加MySQL依赖刷新maven 3.1. 创建项目 3.2. 指定配置 3.3. 下载依赖 四、nexus3 监控
4.1. 查看依赖版本
这里以spring-boot-starter-web 2.5.7依赖查看 咱们只要下载过得maven依赖都会上传 nexus3 私服仓库中 4.2. 版本对比 4.3. aliyun 仓库地址
https://developer.aliyun.com/mvn/guide