# \[hadoop\] - Snapshots on Sonatype refer to zip instead of jar

**URL:** <https://discuss.elastic.co/t/hadoop-snapshots-on-sonatype-refer-to-zip-instead-of-jar/256532>\
**Category:** Elasticsearch\
**Tags:** es-hadoop\
**Created:** [November 24, 2020, 3:44pm UTC](https://discuss.elastic.co/t/hadoop-snapshots-on-sonatype-refer-to-zip-instead-of-jar/256532 "2020-11-24T15:44:46Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jeroenst](https://avatars.discourse-cdn.com/v4/letter/j/3ab097/32.png) [@jeroenst](https://discuss.elastic.co/u/jeroenst)\
**Post date:** [November 24, 2020, 3:44pm UTC](https://discuss.elastic.co/t/hadoop-snapshots-on-sonatype-refer-to-zip-instead-of-jar/256532/1 "2020-11-24T15:44:47Z")

</div>

Hi,

I'm trying to get snapshot versions for elasticsearch-hadoop, however the maven-metadata.xml refers to a zip. It seems everyday 2 releases are made, 1 jar and 1 zip, but only the zip build is referred to.  
[https://oss.sonatype.org/content/repositories/snapshots/org/elasticsearch/elasticsearch-hadoop/7.11.0-SNAPSHOT/maven-metadata.xml](https://oss.sonatype.org/content/repositories/snapshots/org/elasticsearch/elasticsearch-hadoop/7.11.0-SNAPSHOT/maven-metadata.xml)

This results in the following Gradle error:

```auto
Execution failed for task ':compileJava'.
> Could not resolve all files for configuration ':compileClasspath'.
   > Could not find elasticsearch-hadoop-7.11.0-SNAPSHOT.jar (org.elasticsearch:elasticsearch-hadoop:7.11.0-SNAPSHOT:20201123.195414-80).
     Searched in the following locations:
         https://oss.sonatype.org/content/repositories/snapshots/org/elasticsearch/elasticsearch-hadoop/7.11.0-SNAPSHOT/elasticsearch-hadoop-7.11.0-20201123.195414-80.jar

```

Is there a reason behind this construction?

Best regards,  
Jeroen

---

<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:** [December 22, 2020, 3:45pm UTC](https://discuss.elastic.co/t/hadoop-snapshots-on-sonatype-refer-to-zip-instead-of-jar/256532/2 "2020-12-22T15:45:20Z")

</div>

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