spring-projects / spring-data-elasticsearch

Provide support to increase developer productivity in Java when using Elasticsearch. Uses familiar Spring concepts such as a template classes for core API usage and lightweight repository style data access.
https://spring.io/projects/spring-data-elasticsearch/
Apache License 2.0
2.9k stars 1.33k forks source link

about maven dependencies #2941

Closed novenzhen closed 2 months ago

novenzhen commented 2 months ago

in the pom.xm,elasticsearch-java has already include elasticsearch-rest-client dependency,why depend elastcisearch-rest-client again?

co.elastic.clients elasticsearch-java ${elasticsearch-java} commons-logging commons-logging
    <dependency>
        <groupId>org.elasticsearch.client</groupId>
        <artifactId>elasticsearch-rest-client</artifactId> <!-- is Apache 2-->
        <version>${elasticsearch-java}</version>
        <exclusions>
            <exclusion>
                <groupId>commons-logging</groupId>
                <artifactId>commons-logging</artifactId>
            </exclusion>
        </exclusions>
    </dependency>