This is an automated email from the ASF dual-hosted git repository. dongjoon pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/spark.git
The following commit(s) were added to refs/heads/master by this push: new a859dd25019 [SPARK-39509][INFRA] Support `DEFAULT_ARTIFACT_REPOSITORY` in `check-license` a859dd25019 is described below commit a859dd25019715165ddb0defe3ddfd8e3cba866e Author: Dongjoon Hyun <dongj...@apache.org> AuthorDate: Sat Jun 18 10:05:24 2022 -0700 [SPARK-39509][INFRA] Support `DEFAULT_ARTIFACT_REPOSITORY` in `check-license` ### What changes were proposed in this pull request? This PR aims to make `check-license` script to support IPv6 environment via `DEFAULT_ARTIFACT_REPOSITORY` ### Why are the changes needed? Apache Maven Central repository has two separate URLs. - https://repo.maven.apache.org/maven2/ (IPv4) - https://ipv6.repo1.maven.org/maven2/ (IPv6) `DEFAULT_ARTIFACT_REPOSITORY` allows IPv6 users to use `ipv6.repo1.maven.org` or Google Maven Central Mirror according to their needs. ### Does this PR introduce _any_ user-facing change? No. This is a dev-only change. ### How was this patch tested? Pass the CIs. Closes #36907 from dongjoon-hyun/SPARK-39509. Authored-by: Dongjoon Hyun <dongj...@apache.org> Signed-off-by: Dongjoon Hyun <dongj...@apache.org> --- dev/check-license | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev/check-license b/dev/check-license index bd255954d6d..f1cd5a5f1d4 100755 --- a/dev/check-license +++ b/dev/check-license @@ -20,7 +20,7 @@ acquire_rat_jar () { - URL="https://repo.maven.apache.org/maven2/org/apache/rat/apache-rat/${RAT_VERSION}/apache-rat-${RAT_VERSION}.jar" + URL="${DEFAULT_ARTIFACT_REPOSITORY:-https://repo1.maven.org/maven2/}org/apache/rat/apache-rat/${RAT_VERSION}/apache-rat-${RAT_VERSION}.jar" JAR="$rat_jar" --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@spark.apache.org For additional commands, e-mail: commits-h...@spark.apache.org