LuciferYang commented on code in PR #46551:
URL: https://github.com/apache/spark/pull/46551#discussion_r1599332094


##########
project/SparkBuild.scala:
##########
@@ -273,10 +273,9 @@ object SparkBuild extends PomBuild {
       // 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 
for more info.
       "gcs-maven-central-mirror" at 
"https://maven-central.storage-download.googleapis.com/maven2/";,
-      DefaultMavenRepository,
-      Resolver.mavenLocal,
-      Resolver.file("ivyLocal", file(Path.userHome.absolutePath + 
"/.ivy2/local"))(Resolver.ivyStylePatterns)
-    ),
+      DefaultMavenRepository) ++
+      { if (sys.env.contains("SKIP_LOCAL_M2")) Nil else 
Seq(Resolver.mavenLocal) } :+

Review Comment:
   hmm... so, even if the value of `SKIP_LOCAL_M2` is "", `Resolver.mavenLocal` 
will be disabled?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to