This is an automated email from the ASF dual-hosted git repository.
zhouky pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-celeborn.git
The following commit(s) were added to refs/heads/main by this push:
new 7e05d64d0 [CELEBORN-1205] Disable Maven local caches to improve SBT
building stability
7e05d64d0 is described below
commit 7e05d64d04bcd46c24def5740a09a47b9bdff995
Author: mingji <[email protected]>
AuthorDate: Tue Jan 2 21:47:08 2024 +0800
[CELEBORN-1205] Disable Maven local caches to improve SBT building stability
### What changes were proposed in this pull request?
To eliminate build failure when using SBT.
### Why are the changes needed?
If the maven local cache is enabled, SBT can't find the correct
dependencies.
If the maven local cache is disabled, SBT can find the correct dependencies.
### Does this PR introduce _any_ user-facing change?
NO
### How was this patch tested?
GA
Closes #2199 from FMX/b1205.
Authored-by: mingji <[email protected]>
Signed-off-by: zky.zhoukeyong <[email protected]>
---
build/sbt-config/repositories | 2 +-
build/sbt-config/repositories-asia.template | 2 +-
build/sbt-config/repositories-cn.template | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/build/sbt-config/repositories b/build/sbt-config/repositories
index ffa3fc3f7..628c5ea55 100644
--- a/build/sbt-config/repositories
+++ b/build/sbt-config/repositories
@@ -17,7 +17,7 @@
[repositories]
local
- mavenLocal: file://${user.home}/.m2/repository/
+ # mavenLocal: file://${user.home}/.m2/repository/
local-preloaded-ivy:
file:///${sbt.preloaded-${sbt.global.base-${user.home}/.sbt}/preloaded/},
[organization]/[module]/[revision]/[type]s/[artifact](-[classifier]).[ext]
local-preloaded:
file:///${sbt.preloaded-${sbt.global.base-${user.home}/.sbt}/preloaded/}
# The system property value of `celeborn.sbt.default.artifact.repository` is
diff --git a/build/sbt-config/repositories-asia.template
b/build/sbt-config/repositories-asia.template
index ae201139d..45ba8c32d 100644
--- a/build/sbt-config/repositories-asia.template
+++ b/build/sbt-config/repositories-asia.template
@@ -24,7 +24,7 @@
[repositories]
local
- mavenLocal: file://${user.home}/.m2/repository/
+ # mavenLocal: file://${user.home}/.m2/repository/
# The system property value of `celeborn.sbt.default.artifact.repository` is
# fetched from the environment variable `DEFAULT_ARTIFACT_REPOSITORY` and
# assigned within the build/sbt-launch-lib.bash script.
diff --git a/build/sbt-config/repositories-cn.template
b/build/sbt-config/repositories-cn.template
index eb75ff217..a07ac96f8 100644
--- a/build/sbt-config/repositories-cn.template
+++ b/build/sbt-config/repositories-cn.template
@@ -25,7 +25,7 @@
[repositories]
local
- mavenLocal: file://${user.home}/.m2/repository/
+ # mavenLocal: file://${user.home}/.m2/repository/
# The system property value of `celeborn.sbt.default.artifact.repository` is
# fetched from the environment variable `DEFAULT_ARTIFACT_REPOSITORY` and
# assigned within the build/sbt-launch-lib.bash script.