diff --git a/CMakeLists.txt b/CMakeLists.txt index d31c6b3..2dfeac7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -71,7 +71,9 @@ if(NOT RVOJava_COMMONS_MATH3_JAR_FILE) # cmake-lint: disable=C0301 FetchContent_Declare(org_apache_commons_commons_math3 DOWNLOAD_NO_EXTRACT ON - URL https://repo1.maven.org/maven2/org/apache/commons/commons-math3/3.6.1/commons-math3-3.6.1.jar + URL + https://repo1.maven.org/maven2/org/apache/commons/commons-math3/3.6.1/commons-math3-3.6.1.jar + https://maven-central.storage-download.googleapis.com/maven2/org/apache/commons/commons-math3/3.6.1/commons-math3-3.6.1.jar URL_HASH SHA256=1e56d7b058d28b65abd256b8458e3885b674c1d588fa43cd7d1cbb9c7ef2b308 ) diff --git a/MODULE.bazel b/MODULE.bazel index 6fd9607..ff800b3 100644 --- a/MODULE.bazel +++ b/MODULE.bazel @@ -50,6 +50,10 @@ maven.install( name = "rvojava_maven", artifacts = ["org.apache.commons:commons-math3:3.6.1"], lock_file = "//:maven_install.json", + repositories = [ + "https://repo1.maven.org/maven2", + "https://maven-central.storage-download.googleapis.com/maven2", + ], ) use_repo(maven, "rvojava_maven") diff --git a/maven_install.json b/maven_install.json index 04bf4dd..8040469 100644 --- a/maven_install.json +++ b/maven_install.json @@ -1,7 +1,12 @@ { "__AUTOGENERATED_FILE_DO_NOT_MODIFY_THIS_FILE_MANUALLY": "THERE_IS_NO_DATA_ONLY_ZUUL", - "__INPUT_ARTIFACTS_HASH": -114589513, - "__RESOLVED_ARTIFACTS_HASH": 1330793062, + "__INPUT_ARTIFACTS_HASH": { + "org.apache.commons:commons-math3": -1738699872, + "repositories": 736830508 + }, + "__RESOLVED_ARTIFACTS_HASH": { + "org.apache.commons:commons-math3": -1383243934 + }, "artifacts": { "org.apache.commons:commons-math3": { "shasums": { @@ -93,8 +98,11 @@ "repositories": { "https://repo1.maven.org/maven2/": [ "org.apache.commons:commons-math3" + ], + "https://maven-central.storage-download.googleapis.com/maven2/": [ + "org.apache.commons:commons-math3" ] }, "services": {}, - "version": "2" + "version": "3" }