wget https://github.com/elastic/elasticsearch/archive/refs/tags/v8.4.2.tar.gz
tar -xvf v8.4.2.tar.gz
cd elasticsearch-8.4.2
...
[user001@host elasticsearch-8.4.2]$ ./gradlew localDistro
> Task :build-tools:compileJava
Note: /home/user001/elasticsearch-8.4.2/build-tools/src/main/java/org/elasticsearch/gradle/testclusters/TestClustersPlugin.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
> Task :build-tools-internal:compileJava
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: /home/user001/elasticsearch-8.4.2/build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/snyk/SnykDependencyGraph.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
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.4.2-SNAPSHOT.
Searched in the following locations:
- https://artifacts-snapshot.elastic.co/ml-cpp/8.4.2-SNAPSHOT/downloads/ml-cpp/ml-cpp-8.4.2-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 43s
19 actionable tasks: 19 executed
cannot build source code from v8.4.2
It doesn't seem to resolve the dependency ml-cpp:8.4.2.
any suggestions?
Thanks.