This is an automated email from the ASF dual-hosted git repository.
dongjoon pushed a commit to branch branch-1.8
in repository https://gitbox.apache.org/repos/asf/orc.git
The following commit(s) were added to refs/heads/branch-1.8 by this push:
new 3eeb760d8 ORC-1199: Use Google mirror of Maven Central as the primary
3eeb760d8 is described below
commit 3eeb760d85335c116bc9eb4fb9e7e5bdf43a099a
Author: William Hyun <[email protected]>
AuthorDate: Fri Jun 10 12:38:22 2022 -0700
ORC-1199: Use Google mirror of Maven Central as the primary
### What changes were proposed in this pull request?
This PR aims to use the Google mirror of Maven Central as the primary.
### Why are the changes needed?
This will improve performance and stability.
Also, Google mirror is ready for ipv6.
### How was this patch tested?
Pass the CIs.
Closes #1154 from williamhyun/ORC-1199.
Authored-by: William Hyun <[email protected]>
Signed-off-by: Dongjoon Hyun <[email protected]>
(cherry picked from commit a2c59139dbf41d845e69e0830424d9f677082670)
Signed-off-by: Dongjoon Hyun <[email protected]>
---
java/pom.xml | 59 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 59 insertions(+)
diff --git a/java/pom.xml b/java/pom.xml
index 4497f58fd..66a55ac89 100644
--- a/java/pom.xml
+++ b/java/pom.xml
@@ -86,6 +86,65 @@
<checkstyle.version>10.2</checkstyle.version>
</properties>
+ <repositories>
+ <repository>
+ <id>gcs-maven-central-mirror</id>
+ <!--
+ Google Mirror of Maven Central, placed first so that it's used instead
of flaky Maven Central.
+ See https://storage-download.googleapis.com/maven-central/index.html
+ -->
+ <name>GCS Maven Central mirror</name>
+ <url>https://maven-central.storage-download.googleapis.com/maven2/</url>
+ <releases>
+ <enabled>true</enabled>
+ </releases>
+ <snapshots>
+ <enabled>false</enabled>
+ </snapshots>
+ </repository>
+ <repository>
+ <!--
+ This is used as a fallback when the first try fails.
+ -->
+ <id>central</id>
+ <name>Maven Repository</name>
+ <url>https://repo.maven.apache.org/maven2</url>
+ <releases>
+ <enabled>true</enabled>
+ </releases>
+ <snapshots>
+ <enabled>false</enabled>
+ </snapshots>
+ </repository>
+ </repositories>
+ <pluginRepositories>
+ <pluginRepository>
+ <id>gcs-maven-central-mirror</id>
+ <!--
+ Google Mirror of Maven Central, placed first so that it's used instead
of flaky Maven Central.
+ See https://storage-download.googleapis.com/maven-central/index.html
+ -->
+ <name>GCS Maven Central mirror</name>
+ <url>https://maven-central.storage-download.googleapis.com/maven2/</url>
+ <releases>
+ <enabled>true</enabled>
+ </releases>
+ <snapshots>
+ <enabled>false</enabled>
+ </snapshots>
+ </pluginRepository>
+ <pluginRepository>
+ <id>central</id>
+ <url>https://repo.maven.apache.org/maven2</url>
+ <releases>
+ <enabled>true</enabled>
+ </releases>
+ <snapshots>
+ <enabled>false</enabled>
+ </snapshots>
+ </pluginRepository>
+ </pluginRepositories>
+
<build>
<plugins>
<plugin>