Skip to content

Commit e64a49d

Browse files
committedFeb 27, 2025·
keep const
1 parent 3110b4b commit e64a49d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed
 

‎clients/datasource/maven_registry.go

+4
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,10 @@ import (
3636
// MavenCentral holds the URL of Maven Central Repository.
3737
const MavenCentral = "https://repo.maven.apache.org/maven2"
3838

39+
// MavenCentralMirror holds the URL of Maven Central mirror hosted on Google Cloud Storage.
40+
// https://storage-download.googleapis.com/maven-central/index.html
41+
const MavenCentralMirror = "https://maven-central.storage-download.googleapis.com/maven2/"
42+
3943
var errAPIFailed = errors.New("API query failed")
4044

4145
// MavenRegistryAPIClient defines a client to fetch metadata from a Maven registry.

0 commit comments

Comments
 (0)
Please sign in to comment.