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