Gradle assemble -Dbuild.snapshot=false

Hi Team I try to run above command from source code will getting error

Build file '/Users/adeppathondur/Desktop/Softwares/elastic_source/elasticsearch/x-pack/plugin/core/build.gradle' line: 67

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

Property license.key must be set for release build

please help me here

I don't think it's a good idea to assemble your own build with -Dbuild.snapshot=false. If it succeeded, it would look like a genuine Elasticsearch build but the version number would not correspond with the code that is running. What are you actually trying to achieve here?

Thanks for the response, actual problem here i want to install some plugins on custom source build using the command i.e " sudo /usr/share/elasticsearch/bin/elasticsearch-plugin install analysis-icu" but getting error "ERROR: attempted to install release build of official plugin on snapshot build of Elasticsearch" so that i am going into build without SNAPSHOT keyword at every jar, it's can fix above mention issue, this solution found in forum so that tried, if have any idea for the above issue please let me know

I would recommend installing -SNAPSHOT builds of the plugins to match the -SNAPSHOT nature of your custom build.

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