生产项目

项目导入

  • 公司自建的类github仓库,部署在云服务器上
  • maven仓库也是自己建的,部署在云服务器上
  • develop分支才是最新的,master不是
  • 这些项目用的都是java8

项目介绍

  • 采用微服务框架
  • 鉴权由datax-auth提供,这个项目的maven识别不出自建的镜像仓库

配置管理

用nacos作为配置中心,登录nacos网页端来管理查看配置
左边的配置管理-配置列表就能看到具体配置,就原来的yml文件

问题

【项目识别不出远程仓库】

实在不行,可以在当前项目的pom文件中手动指定远程仓库地址

1
2
3
4
5
6
7
8
9
10
11
12
<repositories>
<repository>
<id>dtc-maven-repo</id>
<url>http://10.3.6.27:8081/repository/dtc-maven-repo/</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
</repositories>

datax-auth认证


生产项目
http://www.981928.xyz/2026/04/08/生产项目/
作者
981928
发布于
2026年4月8日
许可协议