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

Hi Team ,

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

<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

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