From 10efc2ee93db25551a4c7133e9f460d3b7f1481c Mon Sep 17 00:00:00 2001 From: Ryan Baxter Date: Mon, 20 Jul 2026 15:07:19 -0400 Subject: [PATCH] Pin maven-deploy-plugin version in spring-cloud-dependencies-parent spring-cloud-dependencies-parent has no parent POM and does not manage the maven-deploy-plugin, so with Maven < 3.9 it falls back to the core default maven-deploy-plugin 2.7. That version predates the altSnapshotDeploymentRepository parameter (added in 2.8), so any deploy that relies on that flag is silently ignored for this module and it falls back to the repository declared in its own distributionManagement. Pin the plugin to 3.1.4 to match the version used by the spring-cloud-build root POM so the module honors the alternate deployment repository flags. Signed-off-by: Ryan Baxter --- spring-cloud-dependencies-parent/pom.xml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/spring-cloud-dependencies-parent/pom.xml b/spring-cloud-dependencies-parent/pom.xml index ee1194a7..1796c5dd 100644 --- a/spring-cloud-dependencies-parent/pom.xml +++ b/spring-cloud-dependencies-parent/pom.xml @@ -71,6 +71,7 @@ UTF-8 0.9.0 + 3.1.4 https://github.com/spring-cloud @@ -208,6 +209,11 @@ + + org.apache.maven.plugins + maven-deploy-plugin + ${maven-deploy-plugin.version} + org.apache.maven.plugins maven-enforcer-plugin