CI: Maven через зеркало Nexus maven-central — job java, сборка образа и локальная машина
PR checks / web (pull_request) Successful in 33s
PR checks / java (pull_request) Successful in 1m6s
Main: tests, deploy, autotests / web (push) Successful in 30s
Main: tests, deploy, autotests / java (push) Successful in 1m2s
Main: tests, deploy, autotests / images-web (push) Successful in 29s
Main: tests, deploy, autotests / images-app (push) Successful in 54s
Main: tests, deploy, autotests / deploy (push) Successful in 1m29s
Main: tests, deploy, autotests / autotests (push) Successful in 37s
Main: tests, deploy, autotests / rollback (push) Has been skipped

This commit was merged in pull request #72.
This commit is contained in:
Pjandro
2026-10-28 22:25:02 +00:00
parent 93e342f105
commit dfd9a9277a
6 changed files with 91 additions and 24 deletions
+20
View File
@@ -0,0 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Maven-зеркало через Nexus: URL берётся из переменной окружения MAVEN_MIRROR_URL —
координаты стенда в репозитории не хранятся (в CI — Gitea Actions Variable,
в Containerfile — build-arg, локально — literal URL в ~/.m2/settings.xml).
mirrorOf="*" перехватывает все репозитории (кастомных <repositories> в pom'ах нет)
и срабатывает раньше штатного maven-default-http-blocker (Maven >= 3.8.1 блокирует
http://): пользовательский mirror матчится первым. Проверено на 3.9.9/3.9.16.
-->
<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>nexus-mirror</id>
<mirrorOf>*</mirrorOf>
<url>${env.MAVEN_MIRROR_URL}</url>
</mirror>
</mirrors>
</settings>