Skip to content

Commit 3ecefdb

Browse files
authored
fix: Pin Maven 3.9.16 so Central accepts the release bundle (#132)
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.
1 parent 4d7d661 commit 3ecefdb

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

‎.github/dependabot.yml‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,12 @@ updates:
88
java:
99
patterns:
1010
- "*"
11+
ignore:
12+
# Maven 3.10 stages _remote.repositories and maven-metadata-local.xml into the
13+
# Central bundle, which Central rejects. Revisit once central-publishing-maven-plugin
14+
# (0.11.0) supports it.
15+
- dependency-name: "org.apache.maven:apache-maven"
16+
versions: [">= 3.10.0"]
1117

1218
- package-ecosystem: github-actions
1319
directory: '/'
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
wrapperVersion=3.3.4
22
distributionType=only-script
3-
distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.10.0/apache-maven-3.10.0-bin.zip
3+
distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.16/apache-maven-3.9.16-bin.zip

0 commit comments

Comments
 (0)