diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml
index f07f29e38c..a7e40ee287 100644
--- a/.github/workflows/publish.yaml
+++ b/.github/workflows/publish.yaml
@@ -29,9 +29,9 @@ jobs:
distribution: 'adopt'
cache: 'maven'
# Configure ~/.m2/settings.xml
- server-id: ossrh
- server-username: OSSRH_USERNAME
- server-password: OSSRH_PASSWORD
+ server-id: central
+ server-username: CP_USERNAME
+ server-password: CP_PASSWORD
# Import GPG key into build agent's local keystore
gpg-private-key: ${{ secrets.GPG_PRIVATE_KEY }}
gpg-passphrase: ${{ secrets.GPG_PASSPHRASE }}
@@ -50,8 +50,8 @@ jobs:
- name: Publish to Maven Central
env:
- OSSRH_USERNAME: ${{ secrets.OSSRH_USERNAME }}
- OSSRH_PASSWORD: ${{ secrets.OSSRH_PASSWORD }}
+ CP_USERNAME: ${{ secrets.CP_USERNAME }}
+ CP_PASSWORD: ${{ secrets.CP_PASSWORD }}
GPG_KEYNAME: ${{ secrets.GPG_KEYNAME }}
GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
run: |
diff --git a/.secrets.baseline b/.secrets.baseline
index a9b5c2c1ed..e16416ddfc 100644
--- a/.secrets.baseline
+++ b/.secrets.baseline
@@ -3,7 +3,7 @@
"files": "package-lock.json|go.sum|^.secrets.baseline$",
"lines": null
},
- "generated_at": "2025-01-09T18:41:28Z",
+ "generated_at": "2025-07-18T15:15:13Z",
"plugins_used": [
{
"name": "AWSKeyDetector"
@@ -67,7 +67,7 @@
"results": {
".github/workflows/publish.yaml": [
{
- "hashed_secret": "87ddb19c18c56534a4011f47f38530f6df9a8a80",
+ "hashed_secret": "b8fb27ac44ff8a4d5237588af39c5fb65bbedc3f",
"is_secret": false,
"is_verified": false,
"line_number": 34,
@@ -178,7 +178,7 @@
"hashed_secret": "69ceb65c6e41b82105f435246134b03da6fcdbf7",
"is_secret": false,
"is_verified": false,
- "line_number": 3405,
+ "line_number": 2535,
"type": "Secret Keyword",
"verified_result": null
}
diff --git a/pom.xml b/pom.xml
index 53abfe22ea..60e1006d7b 100644
--- a/pom.xml
+++ b/pom.xml
@@ -27,7 +27,7 @@
3.1.2
0.8.11
3.1.1
- 1.6.13
+ 0.8.0
3.1.0
3.3.0
3.5.1
@@ -223,9 +223,9 @@
${maven-deploy-plugin-version}
- org.sonatype.plugins
- nexus-staging-maven-plugin
- ${nexus-staging-plugin-version}
+ org.sonatype.central
+ central-publishing-maven-plugin
+ ${central-publish-plugin-version}
org.apache.maven.plugins
@@ -512,25 +512,20 @@
-
- ossrh
-
- https://oss.sonatype.org/service/local/staging/deploy/maven2/
+ central
+ https://central.sonatype.com/repository/maven-snapshots/
- org.sonatype.plugins
- nexus-staging-maven-plugin
+ org.sonatype.central
+ central-publishing-maven-plugin
true
- ossrh
- https://oss.sonatype.org/
- true
- true
+ central
+ true