LuciferYang commented on code in PR #48972:
URL: https://github.com/apache/spark/pull/48972#discussion_r1862177374
##########
project/SparkBuild.scala:
##########
@@ -279,10 +279,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:
Is there a way to exclude `Resolver.mavenLocal` when it is explicitly known
that the sbt task being executed is `mimaReportBinaryIssues`
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]