Skip to content

Add maven-central.storage-download.googleapis.com to java/scala ecosystem domains #22934

@Mossaka

Description

@Mossaka

Problem

Maven 3.9+ defaults to using maven-central.storage-download.googleapis.com as a mirror for Maven Central. This domain is not currently included in the java or scala ecosystem domain allowlists, causing Gradle and Maven builds to fail when they try to resolve dependencies through this mirror.

Details

The Google Cloud Storage mirror is the default in modern Maven/Gradle configurations:

  • maven-central.storage-download.googleapis.com — Maven Central GCS mirror
  • repository.apache.org — Apache staging/snapshot repository (used by some projects)

Suggested Fix

Add the following domains to the java ecosystem (which scala inherits):

maven-central.storage-download.googleapis.com
repository.apache.org

Impact

Affects Java/Scala/Groovy/Kotlin projects that use Maven 3.9+ or Gradle with default repository configuration.

Metadata

Metadata

Labels

build-testIssues found via build/test validation

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions