Building oss tar from source code Elasticsearch 7.10

Hi,

References

Is there a way we could build the oss version of the Elasticsearch from source code.
We have a requirement like, we have to build the Elasticsearch OSS from source code and use it instead of downloading it.

We would like to build with snapshot option false.

-Dbuild.snapshot=false

We get the below error.
./gradlew :distribution:archives:oss-no-jdk-linux-tar:assemble -Dbuild.snapshot=false

FAILURE: Build failed with an exception.

  • Where:
    Build file '/local/ES/Elasticsearch/x-pack/plugin/core/build.gradle' line: 85

  • What went wrong:
    A problem occurred evaluating project ':x-pack:plugin:core'.

Property license.key must be set for release build

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

  • Get more help at https://help.gradle.org

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.