Skip to content

Commit 5977c1f

Browse files
authored
chore: temporarily stop using maven mirror (#3816)
#3814 (comment)
1 parent 07f834a commit 5977c1f

File tree

2 files changed

+12
-16
lines changed

2 files changed

+12
-16
lines changed

.kokoro/presubmit/downstream-build.sh

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,6 @@ scriptDir=$(realpath "$(dirname "${BASH_SOURCE[0]}")")
2525
cd "${scriptDir}/../.." # git repo root
2626
source "$scriptDir/common.sh"
2727

28-
# Use GCP Maven Mirror
29-
mkdir -p "${HOME}/.m2"
30-
cp settings.xml "${HOME}/.m2"
31-
3228
# Publish this repo's modules to local maven to make them available for downstream libraries
3329
mvn install --projects '!gapic-generator-java' \
3430
-Danimal.sniffer.skip \

settings.xml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,15 @@
1818
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
1919
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0
2020
https://maven.apache.org/xsd/settings-1.0.0.xsd">
21-
<mirrors>
22-
<mirror>
23-
<!-- Google's Maven Central mirror for Americas
24-
https://maven-central.storage.googleapis.com/index.html
25-
-->
26-
<id>google-maven-central</id>
27-
<name>GCS Maven Central mirror</name>
28-
<url>https://maven-central.storage-download.googleapis.com/maven2/</url>
29-
<mirrorOf>central</mirrorOf>
30-
</mirror>
31-
</mirrors>
32-
</settings>
21+
<!-- <mirrors>-->
22+
<!-- <mirror>-->
23+
<!-- &lt;!&ndash; Google's Maven Central mirror for Americas-->
24+
<!-- https://maven-central.storage.googleapis.com/index.html-->
25+
<!-- &ndash;&gt;-->
26+
<!-- <id>google-maven-central</id>-->
27+
<!-- <name>GCS Maven Central mirror</name>-->
28+
<!-- <url>https://maven-central.storage-download.googleapis.com/maven2/</url>-->
29+
<!-- <mirrorOf>central</mirrorOf>-->
30+
<!-- </mirror>-->
31+
<!-- </mirrors>-->
32+
</settings>

0 commit comments

Comments
 (0)