From e6c3663ad256c7c0da5b2820a7fa8b25b100d88c Mon Sep 17 00:00:00 2001 From: Thomas Cederholm Date: Thu, 8 Oct 2026 15:02:44 +0200 Subject: [PATCH] fix: Pin Maven 3.9.16 so Central accepts the release bundle Maven 3.10.0 makes central-publishing-maven-plugin 0.11.0 stage _remote.repositories and maven-metadata-local.xml into the bundle, which Central rejects. Revert the wrapper to 3.9.16 and have dependabot ignore apache-maven >= 3.10.0. --- .github/dependabot.yml | 6 ++++++ .mvn/wrapper/maven-wrapper.properties | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 9929f1c0..8cbe5fb5 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -8,6 +8,12 @@ updates: java: patterns: - "*" + ignore: + # Maven 3.10 stages _remote.repositories and maven-metadata-local.xml into the + # Central bundle, which Central rejects. Revisit once central-publishing-maven-plugin + # (0.11.0) supports it. + - dependency-name: "org.apache.maven:apache-maven" + versions: [">= 3.10.0"] - package-ecosystem: github-actions directory: '/' diff --git a/.mvn/wrapper/maven-wrapper.properties b/.mvn/wrapper/maven-wrapper.properties index bb58b3c2..216df058 100644 --- a/.mvn/wrapper/maven-wrapper.properties +++ b/.mvn/wrapper/maven-wrapper.properties @@ -1,3 +1,3 @@ wrapperVersion=3.3.4 distributionType=only-script -distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.10.0/apache-maven-3.10.0-bin.zip +distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.16/apache-maven-3.9.16-bin.zip