Elasticsearch 7.10.0, x-pack-core and x-pack-security under which license

Hi @Christian_Dahlqvist ,
How to build ES 7.10.2 OSS version (non-SNAPSHOT version) without license or x-pack feature ?
I'm getting this error.
https://discuss.elastic.co/t/building-oss-tar-from-source-code-elasticsearch-7-10/291966