From b618044a52158caebd6cfe7cc0a520382b014d46 Mon Sep 17 00:00:00 2001
From: Andy Pixley <3723676+pixman20@users.noreply.github.com>
Date: Tue, 22 Sep 2026 10:19:12 -0400
Subject: [PATCH 1/4] [BRE-2284] Updating pom.xml for new maven target
---
pom.xml | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/pom.xml b/pom.xml
index 24396f4..8f438ed 100644
--- a/pom.xml
+++ b/pom.xml
@@ -54,10 +54,15 @@
+
ossrh
- Central Repository OSSRH
- https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/
+ Central Portal (OSSRH compatibility)
+ https://ossrh-staging-api.central.sonatype.com/service/local/staging/deploy/maven2/
From 300c8f815794344a8f90d56d26a3a71e8df24489 Mon Sep 17 00:00:00 2001
From: Andy Pixley <3723676+pixman20@users.noreply.github.com>
Date: Tue, 22 Sep 2026 17:05:44 -0400
Subject: [PATCH 2/4] [BRE-2284] Removing unnecesssary comments
---
pom.xml | 5 -----
1 file changed, 5 deletions(-)
diff --git a/pom.xml b/pom.xml
index 8f438ed..7518382 100644
--- a/pom.xml
+++ b/pom.xml
@@ -54,11 +54,6 @@
-
ossrh
Central Portal (OSSRH compatibility)
From 7dc7ababa093f05e1c547c05732d3ae4e3f149f4 Mon Sep 17 00:00:00 2001
From: Andy Pixley <3723676+pixman20@users.noreply.github.com>
Date: Fri, 25 Sep 2026 14:42:03 -0400
Subject: [PATCH 3/4] [BRE-2284] Removing outdated cd.yml workflow
---
.github/workflows/cd.yml | 92 ----------------------------------------
1 file changed, 92 deletions(-)
delete mode 100644 .github/workflows/cd.yml
diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml
deleted file mode 100644
index 3387cc2..0000000
--- a/.github/workflows/cd.yml
+++ /dev/null
@@ -1,92 +0,0 @@
-name: Release
-on:
- release:
- types: [created]
-jobs:
- publish:
- name: Publish
- runs-on: ubuntu-22.04
- permissions:
- contents: read
- packages: write
- id-token: write
- steps:
- - name: Check out repo
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- with:
- persist-credentials: false
-
- - name: Set up Java for publishing to Maven Central Repository
- uses: actions/setup-java@3a4f6e1af504cf6a31855fa899c6aa5355ba6c12 # v4.7.0
- with:
- java-version: '8'
- distribution: 'temurin'
- server-id: ossrh
- server-username: MAVEN_USERNAME
- server-password: MAVEN_PASSWORD
-
- - name: Install xmllint
- run: |
- sudo apt-get update -q
- sudo apt-get install -y libxml2-utils
-
- - name: Verify Version from pom.xml
- run: |
- # Extract the version from pom.xml using grep
- POM_VERSION=$(xmllint --xpath "//*[local-name()='project']/*[local-name()='version']/text()" pom.xml)
-
- # Get the release tag from the GitHub context
- RELEASE_TAG=${GITHUB_REF}
-
- # Remove "refs/tags/" from the release tag
- RELEASE_TAG=${RELEASE_TAG/refs\/tags\//}
-
- # Remove the 'v' prefix fro the release tag, if present
- RELEASE_TAG=${RELEASE_TAG#v}
-
- if [ "$POM_VERSION" == "$RELEASE_TAG" ]; then
- echo "Version in pom.xml matches the release tag: $RELEASE_TAG"
- else
- echo "Error: Version in pom.xml ($POM_VERSION) does not match the release tag ($RELEASE_TAG)"
- exit 1
- fi
-
- - name: Log in to Azure
- uses: bitwarden/gh-actions/azure-login@main
- with:
- subscription_id: ${{ secrets.AZURE_SUBSCRIPTION_ID }}
- tenant_id: ${{ secrets.AZURE_TENANT_ID }}
- client_id: ${{ secrets.AZURE_CLIENT_ID }}
-
- - name: Get Azure Key Vault secrets
- id: get-kv-secrets
- uses: bitwarden/gh-actions/get-keyvault-secrets@main
- with:
- keyvault: gh-passwordless-java
- secrets: "GPG-KEY,GPG-PASSPHRASE,OSSRH-USERNAME,OSSRH-TOKEN"
-
- - name: Log out from Azure
- uses: bitwarden/gh-actions/azure-logout@main
-
- - id: install-secret-key
- name: Import GPG Secret Key
- env:
- GPG_KEY: ${{ steps.get-kv-secrets.outputs.GPG-KEY }}
- run: |
- # Install gpg secret key
- cat <(echo -e "${GPG_KEY}") | gpg --batch --import
-
- # Verify gpg secret key
- gpg --list-secret-keys --keyid-format LONG
-
- - name: Publish to the Maven Central Repository
- run: |
- mvn \
- --batch-mode \
- -Dmaven.test.skip \
- -Dgpg.passphrase="${GPG_PASSPHRASE}" \
- clean deploy
- env:
- MAVEN_USERNAME: ${{ steps.get-kv-secrets.outputs.OSSRH-USERNAME }}
- MAVEN_PASSWORD: ${{ steps.get-kv-secrets.outputs.OSSRH-TOKEN }}
- GPG_PASSPHRASE: ${{ steps.get-kv-secrets.outputs.GPG-PASSPHRASE }}
From 5e8dac92e3d0d4dbaf1cc0c07705e414098ecfd5 Mon Sep 17 00:00:00 2001
From: Andy Pixley <3723676+pixman20@users.noreply.github.com>
Date: Fri, 25 Sep 2026 14:46:23 -0400
Subject: [PATCH 4/4] [BRE-2284] Updating pom developers
---
pom.xml | 7 +------
1 file changed, 1 insertion(+), 6 deletions(-)
diff --git a/pom.xml b/pom.xml
index 7518382..3e43429 100644
--- a/pom.xml
+++ b/pom.xml
@@ -31,14 +31,9 @@
Wacix
Maciej Zieniuk
- https://github.com/WaciX
-
-
- jonashendrickx
- Jonas Hendrickx
Bitwarden Inc.
https://github.com/bitwarden
- jhendrickx@bitwarden.com
+ https://github.com/WaciX