You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by gu...@apache.org on 2026/04/15 21:43:51 UTC
(spark) 01/02: Revert "[SPARK-56478][INFRA][FOLLOW-UP] Remove hamcrest-core-1.3 in the Maven local as a workaround within Docker run"
This is an automated email from the ASF dual-hosted git repository.
gurwls223 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/spark.git
commit 2388839ff44314285af7683d68d12fc05cd4326a
Author: Hyukjin Kwon <gu...@apache.org>
AuthorDate: Thu Apr 16 06:43:17 2026 +0900
Revert "[SPARK-56478][INFRA][FOLLOW-UP] Remove hamcrest-core-1.3 in the Maven local as a workaround within Docker run"
This reverts commit 7c5f5a82ecb626f3ecec4e30152050fd042bd858.
---
dev/create-release/do-release.sh | 9 ++-------
1 file changed, 2 insertions(+), 7 deletions(-)
diff --git a/dev/create-release/do-release.sh b/dev/create-release/do-release.sh
index 6088d8e8788a..193397c970db 100755
--- a/dev/create-release/do-release.sh
+++ b/dev/create-release/do-release.sh
@@ -40,10 +40,8 @@ if [ "$RUNNING_IN_DOCKER" = "1" ]; then
export JAVA_HOME=/usr
fi
- # If ~/.m2 has metadata for hamcrest-core:1.3 but no JAR, Coursier (SBT) can fail with
- # "file:.../hamcrest-core-1.3.jar: not found". Drop that tree so artifacts re-resolve from
- # remote repositories. Maven steps (e.g. release-tag.sh) can recreate a broken tree.
- # See also https://github.com/coursier/coursier/issues/2942
+ # If ~/.m2 has metadata for hamcrest-core:1.3 but no JAR, Coursier can fail with
+ # "file:.../hamcrest-core-1.3.jar: not found". Drop that tree so artifacts re-resolve.
rm -rf "${HOME}/.m2/repository/org/hamcrest/hamcrest-core/1.3"
else
# Outside docker, need to ask for information about the release.
@@ -70,9 +68,6 @@ else
fi
if should_build "build"; then
- if [ "$RUNNING_IN_DOCKER" = "1" ]; then
- rm -rf "${HOME}/.m2/repository/org/hamcrest/hamcrest-core/1.3"
- fi
run_silent "Building Spark..." "build.log" \
"$SELF/release-build.sh" package
else
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org