From 0543a2429a48c9a7ac09b0d91ef824a6d490f389 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Grzegorz=20Ko=C5=82akowski?= Date: Mon, 15 Sep 2025 15:45:19 +0200 Subject: [PATCH] Use central-publishing-maven-plugin --- .github/workflows/publish.yml | 2 +- pom.xml | 22 +++++----------------- 2 files changed, 6 insertions(+), 18 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index a994f28f..ebc00457 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -38,7 +38,7 @@ jobs: with: java-version: '11' distribution: 'temurin' - server-id: ossrh + server-id: central server-username: MAVEN_USERNAME server-password: MAVEN_PASSWORD gpg-private-key: ${{ secrets.GPG_PRIVATE_KEY }} diff --git a/pom.xml b/pom.xml index dafdb7f8..5b26756f 100644 --- a/pom.xml +++ b/pom.xml @@ -52,17 +52,6 @@ under the License. https://github.com/getindata/flink-http-connector/tree/main - - - ossrh - https://s01.oss.sonatype.org/content/repositories/snapshots - - - ossrh - https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/ - - - UTF-8 @@ -541,14 +530,13 @@ under the License. - org.sonatype.plugins - nexus-staging-maven-plugin - 1.6.13 + org.sonatype.central + central-publishing-maven-plugin + 0.8.0 true - ossrh - https://s01.oss.sonatype.org/ - true + central + true