# Could not find org.elasticsearch.gradle:build-tools:8.12.0-SNAPSHOT

**URL:** https://discuss.elastic.co/t/could-not-find-org-elasticsearch-gradle8-12-0-snapshot/357210
**Category:** Elasticsearch
**Created:** [April 11, 2024, 12:53pm UTC](https://discuss.elastic.co/t/could-not-find-org-elasticsearch-gradle8-12-0-snapshot/357210 "2024-04-11T12:53:43Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![yunfei](https://avatars.discourse-cdn.com/v4/letter/y/e19adc/32.png) [@yunfei](https://discuss.elastic.co/u/yunfei)
#### Post date: [April 11, 2024, 12:53pm UTC](https://discuss.elastic.co/t/could-not-find-org-elasticsearch-gradle8-12-0-snapshot/357210/1 "2024-04-11T12:53:43Z")

</div>

when i enter into ~/elasticsearch-8.12.0/plugins/examples/rescore, and use command gradle bundlePlugin to compile the plugin, there are some wrong:

FAILURE: Build failed with an exception.

- What went wrong:  
A problem occurred configuring root project 'examples'.

> Could not resolve all files for configuration ':classpath'.  
> Could not find org.elasticsearch.gradle:build-tools:8.12.0-SNAPSHOT.  
> Searched in the following locations:

can you help me?  
thank you very much

---

<div class="post-metadata">

### Author: ![yunfei](https://avatars.discourse-cdn.com/v4/letter/y/e19adc/32.png) [@yunfei](https://discuss.elastic.co/u/yunfei)
#### Post date: [April 11, 2024, 12:55pm UTC](https://discuss.elastic.co/t/could-not-find-org-elasticsearch-gradle8-12-0-snapshot/357210/2 "2024-04-11T12:55:48Z")

</div>

Could not find org.elasticsearch.gradle:build-tools:8.12.0-SNAPSHOT.  
Searched in the following locations:  
- https[://]snapshots[.]elastic[.]co/maven/org/elasticsearch/gradle/build-tools/8.12.0-SNAPSHOT/maven-metadata.xml  
- https[://]snapshots[.]elastic[.]co/maven/org/elasticsearch/gradle/build-tools/8.12.0-SNAPSHOT/build-tools-8.12.0-SNAPSHOT.pom  
- https[://]repo[.]maven.apache[.]org/maven2/org/elasticsearch/gradle/build-tools/8.12.0-SNAPSHOT/maven-metadata.xml  
- https[://]repo[.]maven.apache[.]org/maven2/org/elasticsearch/gradle/build-tools/8.12.0-SNAPSHOT/build-tools-8.12.0-SNAPSHOT.pom  
Required by:  
project :

---

<div class="post-metadata">

### Author: ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)
#### Post date: [April 12, 2024, 9:34am UTC](https://discuss.elastic.co/t/could-not-find-org-elasticsearch-gradle8-12-0-snapshot/357210/3 "2024-04-12T09:34:10Z")

</div>

Welcome!

> [@yunfei](#):
>
> when i enter into ~/elasticsearch-8.12.0/plugins/examples/rescore, and use command gradle bundlePlugin to compile the plugin, there are some wrong:

Just to make sure. You checked out the git repo and then switched to the 8.12.3 tag?  
What did you do exactly?

My guess is that you probably need to fix the version so you don't depend on a SNAPSHOT...

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [May 10, 2024, 9:34am UTC](https://discuss.elastic.co/t/could-not-find-org-elasticsearch-gradle8-12-0-snapshot/357210/4 "2024-05-10T09:34:44Z")

</div>

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