From dc6770fa7cd9186beea9f736890f9c85ef822398 Mon Sep 17 00:00:00 2001 From: guyeisenbach Date: Thu, 4 Sep 2025 13:15:06 +0300 Subject: [PATCH 1/4] migrate-to-central-publishing-maven-plugin --- deploy/mvnsettings.xml | 2 +- pom.xml | 10 ++++------ 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/deploy/mvnsettings.xml b/deploy/mvnsettings.xml index 90e6696c..d2283434 100644 --- a/deploy/mvnsettings.xml +++ b/deploy/mvnsettings.xml @@ -1,7 +1,7 @@ - ossrh + central ${env.OSSRH_JIRA_USERNAME} ${env.OSSRH_JIRA_PASSWORD} diff --git a/pom.xml b/pom.xml index 1df8cf3a..cbcf1c8f 100644 --- a/pom.xml +++ b/pom.xml @@ -283,14 +283,12 @@ - org.sonatype.plugins - nexus-staging-maven-plugin - 1.6.8 + org.sonatype.central + central-publishing-maven-plugin + 0.8.0 true - ossrh - https://oss.sonatype.org/ - true + central From b420929d445c34d5b7845e38dbd08c3c778ba411 Mon Sep 17 00:00:00 2001 From: guyeisenbach Date: Thu, 4 Sep 2025 13:28:16 +0300 Subject: [PATCH 2/4] auto publish --- pom.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/pom.xml b/pom.xml index cbcf1c8f..cc8f9388 100644 --- a/pom.xml +++ b/pom.xml @@ -289,6 +289,7 @@ true central + true From a78decd35b848cd966d94c8f21f3297a9bc83802 Mon Sep 17 00:00:00 2001 From: guyeisenbach Date: Thu, 4 Sep 2025 13:39:06 +0300 Subject: [PATCH 3/4] add passphrase to CD process --- .github/workflows/cd.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/cd.yaml b/.github/workflows/cd.yaml index 01a1173d..830f54a6 100644 --- a/.github/workflows/cd.yaml +++ b/.github/workflows/cd.yaml @@ -51,11 +51,12 @@ jobs: distribution: 'adopt' - name: Import GPG key - run: echo -n "$GPG_SIGNING_KEY" | base64 --decode | gpg --import + run: echo -n "$GPG_SIGNING_KEY" | base64 --decode | gpg --import --passphrase "$GPG_PASSPHRASE" env: # To generate a new GPG key run the following command in your local terminal: # gpg --export-secret-keys -a "" | base64 GPG_SIGNING_KEY: ${{ secrets.GPG_SIGNING_KEY }} + GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }} - name: Log GPG keys run: gpg --list-secret-keys --keyid-format LONG From 7733c0ed4eb1b038b6668b7044587446e3874baf Mon Sep 17 00:00:00 2001 From: DanBpx Date: Mon, 8 Sep 2025 17:24:37 +0300 Subject: [PATCH 4/4] update deploy --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9fb72674..809ba2ce 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,7 +1,7 @@ # Change Log ## [v6.15.1](https://github.com/PerimeterX/perimeterx-java-sdk/compare/6.15.1...HEAD) (2025-09-08) -- Added additional updateReason RISK to Telemetry flow +- Added additional updateReason RISK to Telemetry flow ## [v6.15.0](https://github.com/PerimeterX/perimeterx-java-sdk/compare/6.15.0...HEAD) (2025-09-03) - Added Documentation enforcement workflow - verify that the documentation is up to date with the latest changes in the codebase