I am trying to build Elasticsearch from scratch using
./gradlew localDistro command on one of the latest releases. When I build on master it works. However, when I try to build from one of the tagged (v8.5.3 or even v7.11.8) versions it fails. I see the following output.
./gradlew localDistro FAILURE: Build failed with an exception. * What went wrong: Could not determine the dependencies of task ':x-pack:plugin:ml:explodedBundlePlugin'. > Could not resolve all task dependencies for configuration ':x-pack:plugin:ml:nativeBundle'. > Could not find org.elasticsearch.ml:ml-cpp:8.5.3-SNAPSHOT. Searched in the following locations: - https://artifacts-snapshot.elastic.co/ml-cpp/8.5.3-SNAPSHOT/downloads/ml-cpp/ml-cpp-8.5.3-SNAPSHOT-deps.zip Required by: project :x-pack:plugin:ml * Try: > Run with --stacktrace option to get the stack trace. > Run with --info or --debug option to get more log output. * Get more help at https://help.gradle.org BUILD FAILED in 15s 19 actionable tasks: 6 executed, 13 up-to-date
Trying to access the above dependency URL returns this
NoSuchKeyThe specified key does not exist.
Can anyone share why this occurs or how to fix it?