From 592335f3633fa96bb857a558deb54edc567708eb Mon Sep 17 00:00:00 2001 From: Lars Francke Date: Tue, 21 Jul 2026 14:59:17 +0200 Subject: [PATCH] fix(java-devel): Apply Maven retry settings under connector.* keys used by Maven 3.9 #1584 added HTTP retry settings (retryHandler.count/interval/intervalMax) under the aether.transport.http.* keys. That prefix is the maven-resolver 2.x / Maven 4 spelling; we build with Maven 3.9.16 (maven-resolver 1.9.27), which only reads aether.connector.http.*, so those settings currently have no effect. Add the connector.* spelling alongside the transport.* one so the retries actually apply today, mirroring how connectionMaxTtl is already dual-spelled. CI Maven failures are connection-level (stale keep-alive connections dropped by the network; no server-side 5xx in Nexus/Apache logs). maven-resolver's retry handler retries these IOExceptions, so this makes the intended retry behaviour effective. Key names verified against ConfigurationProperties.java @ maven-resolver-1.9.27. --- java-devel/stackable/settings.xml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/java-devel/stackable/settings.xml b/java-devel/stackable/settings.xml index 4f68e1319..49910d34b 100644 --- a/java-devel/stackable/settings.xml +++ b/java-devel/stackable/settings.xml @@ -58,22 +58,34 @@ 25 + + + 5 5 + 10000 10000 + 60000 60000