# Elastic search rest client version 7.10.2 not pulling dependencies in maven automatically during compile

**URL:** https://discuss.elastic.co/t/elastic-search-rest-client-version-7-10-2-not-pulling-dependencies-in-maven-automatically-during-compile/277580
**Category:** Elasticsearch
**Tags:** language-clients
**Created:** [July 1, 2021, 4:30pm UTC](https://discuss.elastic.co/t/elastic-search-rest-client-version-7-10-2-not-pulling-dependencies-in-maven-automatically-during-compile/277580 "2021-07-01T16:30:40Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![reddroid](https://avatars.discourse-cdn.com/v4/letter/r/a88e4f/32.png) [@reddroid](https://discuss.elastic.co/u/reddroid)
#### Post date: [July 1, 2021, 4:30pm UTC](https://discuss.elastic.co/t/elastic-search-rest-client-version-7-10-2-not-pulling-dependencies-in-maven-automatically-during-compile/277580/1 "2021-07-01T16:30:40Z")

</div>

Hi Team ,

I'm currently using Elastic search rest client in maven like this

```auto
<elasticsearch.version>7.10.2</elasticsearch.version>
    <lucene-core.version>8.7.0</lucene-core.version>

 <dependency>
      <groupId>org.elasticsearch</groupId>
      <artifactId>elasticsearch</artifactId>
      <version>${elasticsearch.version}</version>
    </dependency>

    <dependency>
      <groupId>org.elasticsearch.client</groupId>
      <artifactId>elasticsearch-rest-client</artifactId>
      <version>${elasticsearch.version}</version>
    </dependency>

    <dependency>
      <groupId>org.elasticsearch.client</groupId>
      <artifactId>elasticsearch-rest-high-level-client</artifactId>
      <version>${elasticsearch.version}</version>
    </dependency>

    <!-- https://mvnrepository.com/artifact/org.elasticsearch/elasticsearch-core -->
    <dependency>
      <groupId>org.elasticsearch</groupId>
      <artifactId>elasticsearch-core</artifactId>
      <version>${elasticsearch.version}</version>
    </dependency>

<dependency>
        <groupId>org.apache.lucene</groupId>
        <artifactId>lucene-core</artifactId>
        <version>${lucene-core.version}</version>
    </dependency>

```

Upto version 7.10 and versions 7.11.1 are pulling in all other required transitive dependencies during compile time or run time .

With version 7.10.2 with just the above configuration , During maven clean install , it is not pulling in any of the lucene dependencies like lucene-analyzers and elastic search dependencies like elastic-cli, carrotsearch etc. I'm having to adding each one of these dependencies to the pom to get it to work .

Please has anyone seen this issue and what is the workaround ?

Thanks

---

<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: [July 29, 2021, 4:31pm UTC](https://discuss.elastic.co/t/elastic-search-rest-client-version-7-10-2-not-pulling-dependencies-in-maven-automatically-during-compile/277580/2 "2021-07-29T16:31:13Z")

</div>

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