From 45eb310ce49dd4e963c35e01461951b9b0148d42 Mon Sep 17 00:00:00 2001 From: James Maes Date: Sat, 7 Nov 2026 13:24:36 -0600 Subject: [PATCH] maven: deploy all modules at the end of the build A multi-module release that fails midway (e.g. a Testcontainers ryuk flake) left some modules published, so reruns hit 409 and needed a new RC number. With deployAtEnd nothing is uploaded until every module has built and tested. Co-Authored-By: Claude Opus 5.5 --- .gitea/workflows/maven.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitea/workflows/maven.yaml b/.gitea/workflows/maven.yaml index 1da8894..222fb1d 100644 --- a/.gitea/workflows/maven.yaml +++ b/.gitea/workflows/maven.yaml @@ -242,7 +242,7 @@ jobs: if: steps.plan.outputs.kind == 'publish' env: OWNER: ${{ github.repository_owner }} - run: mvn -T1C deploy -DaltDeploymentRepository=gitea::https://git.kof22.com/api/packages/${OWNER}/maven + run: mvn -T1C deploy -DdeployAtEnd=true -DaltDeploymentRepository=gitea::https://git.kof22.com/api/packages/${OWNER}/maven - name: Commit version back if: steps.plan.outputs.kind == 'publish' && steps.version.outputs.push_branch != '' -- 2.54.0