From d9d626c0d2d932b664fd7893673af83e96cd68e9 Mon Sep 17 00:00:00 2001
From: Valery Kharseko <vharseko@3a-systems.ru>
Date: Fri, 06 Nov 2026 12:50:46 +0000
Subject: [PATCH] [#325] Upgrade Central publishing plugin and remove Maven 3.9 pin (#1278)

---
 .github/workflows/release.yml |   11 -----------
 pom.xml                       |    2 +-
 2 files changed, 1 insertions(+), 12 deletions(-)

diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index a028eaf..5a365e5 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -62,17 +62,6 @@
           server-id: ossrh
           server-username: MAVEN_USERNAME
           server-password: MAVEN_PASSWORD
-      # Maven 3.10 leaves maven-metadata-local.xml and _remote.repositories in the
-      # central-publishing staging directory, and Maven Central rejects the bundle.
-      - name: Set up Maven 3.9
-        env:
-          MAVEN_VERSION: 3.9.16
-          MAVEN_SHA512: 831a8591fe20c8243b1dbe7d71e3244f31d1665b0804b2e825e38cbbe5ce0cafb8338851f90780735568773e0a6cd07bbec107cda0b896b008b861075358b6f6
-        run: |
-          curl -fsSL --retry 5 -o "$RUNNER_TEMP/maven.tar.gz" "https://archive.apache.org/dist/maven/maven-3/$MAVEN_VERSION/binaries/apache-maven-$MAVEN_VERSION-bin.tar.gz"
-          echo "$MAVEN_SHA512  $RUNNER_TEMP/maven.tar.gz" | sha512sum -c -
-          tar xzf "$RUNNER_TEMP/maven.tar.gz" -C "$RUNNER_TEMP"
-          echo "$RUNNER_TEMP/apache-maven-$MAVEN_VERSION/bin" >> "$GITHUB_PATH"
       - name: Cache Maven packages
         uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
         with:
diff --git a/pom.xml b/pom.xml
index 8ed11b6..65e38e3 100644
--- a/pom.xml
+++ b/pom.xml
@@ -342,7 +342,7 @@
 			<plugin>
 				<groupId>org.sonatype.central</groupId>
 				<artifactId>central-publishing-maven-plugin</artifactId>
-				<version>0.11.0</version>
+				<version>0.12.0</version>
 				<extensions>true</extensions>
 				<configuration>
 				    <publishingServerId>ossrh</publishingServerId>

--
Gitblit v1.10.0