From cd92036f91e06eb5540027f109fcb519f6d7b252 Mon Sep 17 00:00:00 2001 From: hsiegeln <37154749+hsiegeln@users.noreply.github.com> Date: Sun, 26 Apr 2026 18:59:38 +0200 Subject: [PATCH] ci(minter): deploy license-minter JARs to Gitea Maven registry on push Adds at the parent POM and a push-only deploy step in the build job. Selects the parent + core + minter via -pl so both the plain library JAR and the Spring Boot fat CLI JAR are pushed with their full dep tree resolvable; server-app is excluded as a fat-jar runtime, not a library. Co-Authored-By: Claude Opus 4.7 (1M context) --- .gitea/workflows/ci.yml | 6 ++++++ pom.xml | 11 +++++++++++ 2 files changed, 17 insertions(+) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index d88e43fa..e2451b4b 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -84,6 +84,12 @@ jobs: - name: Build and Test run: mvn clean verify -DskipITs -U --batch-mode + - name: Deploy minter to Maven registry + if: github.event_name == 'push' + run: mvn deploy -DskipTests -DskipITs --batch-mode -pl .,cameleer-server-core,cameleer-license-minter + env: + REGISTRY_TOKEN: ${{ secrets.REGISTRY_TOKEN }} + docker: needs: build runs-on: ubuntu-latest diff --git a/pom.xml b/pom.xml index c50c031e..06d1bfd4 100644 --- a/pom.xml +++ b/pom.xml @@ -65,6 +65,17 @@ + + + gitea + https://gitea.siegeln.net/api/packages/cameleer/maven + + + gitea + https://gitea.siegeln.net/api/packages/cameleer/maven + + +