From 5005289bf3accbe91fd55ce3b26d3a1ffe319302 Mon Sep 17 00:00:00 2001 From: Russell Spitzer Date: Thu, 29 Oct 2026 14:14:59 -0500 Subject: [PATCH] GH-3894: [1.19.x] Stage releases through nexus-staging-maven-plugin Backports the pom.xml part of the master change. The release workflows run the scripts from master but build the release branch's pom, so a 1.19.x patch RC staged by the new prepare-rc.sh needs the plugin in this branch's apache-release profile. Without it, mvn deploy falls back to maven-deploy-plugin, Nexus implicitly creates an open repository, and prepare-rc.sh fails after the deploy because no staging repository ID was recorded. Only pom.xml changes; the release scripts are not on this branch. The existing build-helper and exec plugin versions on 1.19.x are kept. Generated-by: Claude Opus 5.5 (1M context) --- pom.xml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/pom.xml b/pom.xml index 24185128f4..1bd7092a85 100644 --- a/pom.xml +++ b/pom.xml @@ -104,6 +104,7 @@ 0.27ea1 3.6.1 3.6.3 + 1.7.0 3.11.4 1.20.0 @@ -720,6 +721,27 @@ + + apache-release + + + + org.sonatype.plugins + nexus-staging-maven-plugin + ${nexus-staging-maven-plugin.version} + true + + https://repository.apache.org/ + apache.releases.https + false + true + 15 + + + + + + vector-plugins