From 84c46508ec102a294e6a9217d37f84e6ad81add9 Mon Sep 17 00:00:00 2001 From: Edward Cheng Date: Fri, 30 Aug 2024 11:58:33 +1000 Subject: [PATCH] test repositories --- .../workflows/build-and-publish-develop.yml | 11 +++------ pom.xml | 23 +++++++++++++++++++ 2 files changed, 26 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build-and-publish-develop.yml b/.github/workflows/build-and-publish-develop.yml index a091a76..12031c5 100644 --- a/.github/workflows/build-and-publish-develop.yml +++ b/.github/workflows/build-and-publish-develop.yml @@ -26,16 +26,10 @@ jobs: distribution: zulu java-version: 17 - name: Maven Publish - env: - NEXUS_USERNAME: 'edward' - NEXUS_PASSWORD: ${{ secrets.NEXUS_PASSWORD }} - SNAPSHOT_DEPLOYMENT_REPOSITORY_URL: ${{ secrets.SNAPSHOT_DEPLOYMENT_REPOSITORY_URL }} - RELEASE_DEPLOYMENT_REPOSITORY_URL: ${{ secrets.RELEASE_DEPLOYMENT_REPOSITORY_URL }} run: | - mvn -B deploy \ - -P homelab \ - --settings=${{ github.workspace }}/.mvn/settings.xml + mvn -B deploy build-docker: + if: false runs-on: ubuntu-latest strategy: fail-fast: false @@ -100,6 +94,7 @@ jobs: if-no-files-found: error retention-days: 1 merge-docker: + if: false runs-on: ubuntu-latest needs: - build-docker diff --git a/pom.xml b/pom.xml index 50527e4..48c605b 100644 --- a/pom.xml +++ b/pom.xml @@ -37,6 +37,29 @@ https://github.com/3dwardch3ng/ec-config-server/issues + + + nexus-public + https://nexus.cluster.edward.sydney/repository/maven-public/ + + true + + + + + + + maven-release + Nexus Release Repository + https://nexus.cluster.edward.sydney/repository/maven-releases/ + + + maven-snapshots + Nexus Snapshots Repository + https://nexus.cluster.edward.sydney/repository/maven-snapshots/ + + + 17 17