by-crm/backend/settings.xml
andy ca00727cd0 build(backend): 添加阿里云Maven镜像加速Docker构建并修复SSL问题
新增backend目录下的Maven镜像配置文件settings.xml,修改对应Dockerfile将配置复制到构建容器中,解决直连境外Maven中央仓库的SSL握手失败问题,同时加速依赖包下载。
2026-08-03 17:30:20 +08:00

18 lines
706 B
XML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?xml version="1.0" encoding="UTF-8"?>
<!--
专供 Docker 构建容器内 Maven 使用:将所有仓库请求镜像到阿里云,
避免直连境外 Maven 中央仓库repo.maven.apache.org出现 SSL 握手失败 / 超时。
-->
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 https://maven.apache.org/xsd/settings-1.0.0.xsd">
<mirrors>
<mirror>
<id>aliyun-public</id>
<mirrorOf>*</mirrorOf>
<name>Aliyun Public Repository</name>
<url>https://maven.aliyun.com/repository/public</url>
</mirror>
</mirrors>
</settings>