From b8c5fbd29ceaaa27edacb82173ed91f6d27bc354 Mon Sep 17 00:00:00 2001 From: Isuru Wijesiri Date: Mon, 4 Dec 2023 10:18:52 +0530 Subject: [PATCH] Bug fix for handler release github action --- .github/workflows/counting-handler-release.yml | 1 + pom.xml | 18 ++++++++++-------- 2 files changed, 11 insertions(+), 8 deletions(-) diff --git a/.github/workflows/counting-handler-release.yml b/.github/workflows/counting-handler-release.yml index 54600d7..c920f18 100644 --- a/.github/workflows/counting-handler-release.yml +++ b/.github/workflows/counting-handler-release.yml @@ -19,5 +19,6 @@ jobs: uses: samuelmeuli/action-maven-publish@v1 with: directory: ./counter + server_id: wso2.releases nexus_username: ${{ secrets.NEXUS_USERNAME }} nexus_password: ${{ secrets.NEXUS_PASSWORD }} diff --git a/pom.xml b/pom.xml index 44b8470..85dc5df 100644 --- a/pom.xml +++ b/pom.xml @@ -66,15 +66,17 @@ - - wso2.snapshots - Apache Snapshot Repository - https://maven.wso2.org/nexus/content/repositories/snapshots/ - - nexus-releases - WSO2 Release Distribution Repository - https://maven.wso2.org/nexus/service/local/staging/deploy/maven2/ + wso2.releases + WSO2 Releases Repository + + true + + + false + + https://maven.wso2.org/nexus/content/repositories/releases/ + default