From 9337ee32dff047108aba0c9c5ddc758c16a30c55 Mon Sep 17 00:00:00 2001 From: Peter-Josef Meisch Date: Mon, 14 Aug 2023 19:51:56 +0200 Subject: [PATCH] Upgrade to Elasticsearch 7.17.12 --- pom.xml | 951 +++++++++--------- src/main/asciidoc/preface.adoc | 8 +- ...elasticsearch-migration-guide-4.3-4.4.adoc | 4 +- .../testcontainers-elasticsearch.properties | 2 +- 4 files changed, 482 insertions(+), 483 deletions(-) diff --git a/pom.xml b/pom.xml index 7bd8d8ba7..de9f2df54 100644 --- a/pom.xml +++ b/pom.xml @@ -1,499 +1,500 @@ - + - 4.0.0 + 4.0.0 - org.springframework.data - spring-data-elasticsearch - 4.4.15-SNAPSHOT + org.springframework.data + spring-data-elasticsearch + 4.4.15-SNAPSHOT - - org.springframework.data.build - spring-data-parent - 2.7.15-SNAPSHOT - + + org.springframework.data.build + spring-data-parent + 2.7.15-SNAPSHOT + - Spring Data Elasticsearch - Spring Data Implementation for Elasticsearch - https://github.com/spring-projects/spring-data-elasticsearch - - - - 7.17.9 - - 7.17.9 - 2.17.1 - 4.1.65.Final - 2.7.15-SNAPSHOT - 1.16.2 - 1.0.6.RELEASE - spring.data.elasticsearch - - - test - integration-test - none - - - - - biomedcentral - BioMed Central Development Team - +0 - - - cstrobl - Christoph Strobl - cstrobl at pivotal.io - Pivotal - https://www.pivotal.io - - Developer - - +1 - - - mpaluch - Mark Paluch - mpaluch at pivotal.io - Pivotal - https://www.pivotal.io - - Developer - - +1 - - - - + Spring Data Elasticsearch + Spring Data Implementation for Elasticsearch https://github.com/spring-projects/spring-data-elasticsearch - scm:git:git://github.com/spring-projects/spring-data-elasticsearch.git - scm:git:ssh://git@github.com/spring-projects/spring-data-elasticsearch.git - - - - Bamboo - https://build.spring.io/browse/SPRINGDATAES - + + + 7.17.12 + + 7.17.12 + 2.17.1 + 4.1.65.Final + 2.7.15-SNAPSHOT + 1.16.2 + 1.0.6.RELEASE + spring.data.elasticsearch - - GitHub - https://github.com/spring-projects/spring-data-elasticsearch/issues - + + test + integration-test + none + - - - - io.netty - netty-bom - ${netty} - pom - import - - - + + + biomedcentral + BioMed Central Development Team + +0 + + + cstrobl + Christoph Strobl + cstrobl at pivotal.io + Pivotal + https://www.pivotal.io + + Developer + + +1 + + + mpaluch + Mark Paluch + mpaluch at pivotal.io + Pivotal + https://www.pivotal.io + + Developer + + +1 + + - + + https://github.com/spring-projects/spring-data-elasticsearch + scm:git:git://github.com/spring-projects/spring-data-elasticsearch.git + scm:git:ssh://git@github.com/spring-projects/spring-data-elasticsearch.git + + - - - org.springframework - spring-context - + + Bamboo + https://build.spring.io/browse/SPRINGDATAES + - - org.springframework - spring-tx - + + GitHub + https://github.com/spring-projects/spring-data-elasticsearch/issues + - - - org.springframework.data - spring-data-commons - ${springdata.commons} - - - - - org.springframework - spring-webflux - true - - - - io.projectreactor.netty - reactor-netty-http - true - - - - io.projectreactor - reactor-test - test - - - - - org.elasticsearch.client - elasticsearch-rest-high-level-client - ${elasticsearch-rhlc} - - - commons-logging - commons-logging - - - - - - - co.elastic.clients - elasticsearch-java - ${elasticsearch-java} - - - commons-logging - commons-logging - - - - - org.elasticsearch.client - elasticsearch-rest-client - ${elasticsearch-java} - - - commons-logging - commons-logging - - - - - - - com.fasterxml.jackson.core - jackson-core - - - com.fasterxml.jackson.core - jackson-databind - - - - - - org.apache.geronimo.specs - geronimo-jcdi_2.0_spec - 1.3 - test - - - - javax.interceptor - javax.interceptor-api - 1.2.1 - test - - - - javax.enterprise - cdi-api - ${cdi} - provided - true - - - - javax.annotation - javax.annotation-api - ${javax-annotation-api} - test - - - - org.apache.openwebbeans - openwebbeans-se - ${webbeans} - test - - - - - org.springframework - spring-test - test - - - ch.qos.logback - logback-classic - - - - - - org.slf4j - log4j-over-slf4j - ${slf4j} - test - - - org.apache.logging.log4j - log4j-core - ${log4j} - test - - - org.apache.logging.log4j - log4j-to-slf4j - ${log4j} - test - - - - io.projectreactor.tools - blockhound-junit-platform - ${blockhound-junit} - test - - - - org.skyscreamer - jsonassert - 1.5.0 - test - - - - com.github.tomakehurst - wiremock-jre8 - 2.32.0 - test - - - - commons-logging - commons-logging - - - org.ow2.asm - asm - - - - - - io.specto - hoverfly-java-junit5 - 0.14.1 - test - - - - - org.apache.xbean - xbean-asm5-shaded - 4.5 - test - - - - javax.servlet - javax.servlet-api - 3.1.0 - test - - - - org.mockito - mockito-junit-jupiter - ${mockito} - test - - - - org.testcontainers - elasticsearch - ${testcontainers} - test - - - - - - - - src/main/resources - true - - **/versions.properties - - - - src/main/resources - false - - **/versions.properties - - - - - - - org.apache.maven.plugins - maven-surefire-plugin - - true - false - - **/*Tests.java - **/*Test.java - - - false - - - - - - default-test - ${mvn.unit-test.goal} - - test - - - integration-test - - - - - integration-test-elasticsearch - ${mvn.integration-test-elasticsearch.goal} - - test - - - integration-test - - elasticsearch - - - - - - integration-test-opensearch - ${mvn.integration-test-opensearch.goal} - - test - - - integration-test - - opensearch - - - - - - - org.pitest - pitest-maven - 1.5.2 + - - org.pitest - pitest-junit5-plugin - 0.12 - + + io.netty + netty-bom + ${netty} + pom + import + - - integration-test - - org.springframework.data.elasticsearch.core.geo.* - - toString - - + - - org.apache.maven.plugins - maven-assembly-plugin - - - org.asciidoctor - asciidoctor-maven-plugin - - - + + + + + org.springframework + spring-context + + + + org.springframework + spring-tx + + + + + org.springframework.data + spring-data-commons + ${springdata.commons} + + + + + org.springframework + spring-webflux + true + + + + io.projectreactor.netty + reactor-netty-http + true + + + + io.projectreactor + reactor-test + test + + + + + org.elasticsearch.client + elasticsearch-rest-high-level-client + ${elasticsearch-rhlc} + + + commons-logging + commons-logging + + + + + + + co.elastic.clients + elasticsearch-java + ${elasticsearch-java} + + + commons-logging + commons-logging + + + + + org.elasticsearch.client + elasticsearch-rest-client + ${elasticsearch-java} + + + commons-logging + commons-logging + + + + + + + com.fasterxml.jackson.core + jackson-core + + + com.fasterxml.jackson.core + jackson-databind + + + + + + org.apache.geronimo.specs + geronimo-jcdi_2.0_spec + 1.3 + test + + + + javax.interceptor + javax.interceptor-api + 1.2.1 + test + + + + javax.enterprise + cdi-api + ${cdi} + provided + true + + + + javax.annotation + javax.annotation-api + ${javax-annotation-api} + test + + + + org.apache.openwebbeans + openwebbeans-se + ${webbeans} + test + + + + + org.springframework + spring-test + test + + + ch.qos.logback + logback-classic + + + + + + org.slf4j + log4j-over-slf4j + ${slf4j} + test + + + org.apache.logging.log4j + log4j-core + ${log4j} + test + + + org.apache.logging.log4j + log4j-to-slf4j + ${log4j} + test + + + + io.projectreactor.tools + blockhound-junit-platform + ${blockhound-junit} + test + + + + org.skyscreamer + jsonassert + 1.5.0 + test + + + + com.github.tomakehurst + wiremock-jre8 + 2.32.0 + test + + + + commons-logging + commons-logging + + + org.ow2.asm + asm + + + + + + io.specto + hoverfly-java-junit5 + 0.14.1 + test + + + + + org.apache.xbean + xbean-asm5-shaded + 4.5 + test + + + + javax.servlet + javax.servlet-api + 3.1.0 + test + + + + org.mockito + mockito-junit-jupiter + ${mockito} + test + + + + org.testcontainers + elasticsearch + ${testcontainers} + test + + + + + + + + src/main/resources + true + + **/versions.properties + + + + src/main/resources + false + + **/versions.properties + + + - - - ci - - - org.apache.maven.plugins - maven-checkstyle-plugin - - - + + org.apache.maven.plugins + maven-surefire-plugin + + true + false + + **/*Tests.java + **/*Test.java + + + false + + + + + + default-test + ${mvn.unit-test.goal} + + test + + + integration-test + + + + + integration-test-elasticsearch + ${mvn.integration-test-elasticsearch.goal} + + test + + + integration-test + + elasticsearch + + + + + + integration-test-opensearch + ${mvn.integration-test-opensearch.goal} + + test + + + integration-test + + opensearch + + + + + + + org.pitest + pitest-maven + 1.5.2 + + + org.pitest + pitest-junit5-plugin + 0.12 + + + + integration-test + + org.springframework.data.elasticsearch.core.geo.* + + toString + + - - - - - - - **/* - - .git/**/*,target/**/*,**/target/**/*,.idea/**/*,**/spring.schemas,**/*.svg,mvnw,mvnw.cmd,**/*.policy - - ./ - - + + org.apache.maven.plugins + maven-assembly-plugin + + + org.asciidoctor + asciidoctor-maven-plugin + - - + - - jdk13+ - - - [13,) - - - - - org.apache.maven.plugins - maven-surefire-plugin - - -XX:+AllowRedefinitionToAddDeleteMethods - - - - - - + + + ci + + + + org.apache.maven.plugins + maven-checkstyle-plugin + + + - - - spring-snapshot - https://repo.spring.io/snapshot - - true - - - false - - - - spring-milestone - https://repo.spring.io/milestone - - + + + + + + + **/* + + .git/**/*,target/**/*,**/target/**/*,.idea/**/*,**/spring.schemas,**/*.svg,mvnw,mvnw.cmd,**/*.policy + + ./ + + + + + + + + jdk13+ + + + [13,) + + + + + org.apache.maven.plugins + maven-surefire-plugin + + -XX:+AllowRedefinitionToAddDeleteMethods + + + + + + + + + + spring-snapshot + https://repo.spring.io/snapshot + + true + + + false + + + + spring-milestone + https://repo.spring.io/milestone + + diff --git a/src/main/asciidoc/preface.adoc b/src/main/asciidoc/preface.adoc index c3afb5122..f90811c47 100644 --- a/src/main/asciidoc/preface.adoc +++ b/src/main/asciidoc/preface.adoc @@ -29,15 +29,13 @@ Requires an installation of https://www.elastic.co/products/elasticsearch[Elasti [[preface.versions]] === Versions -The following table shows the Elasticsearch versions that are used by Spring Data release trains and version of -Spring Data Elasticsearch included in that, as well as the Spring Boot versions referring to that particular Spring -Data release train. The Elasticsearch version given shows with which client libraries Spring Data Elasticsearch was -built and tested. +The following table shows the Elasticsearch versions that are used by Spring Data release trains and version of Spring Data Elasticsearch included in that, as well as the Spring Boot versions referring to that particular Spring Data release train. +The Elasticsearch version given shows with which client libraries Spring Data Elasticsearch was built and tested. [cols="^,^,^,^,^",options="header"] |=== | Spring Data Release Train | Spring Data Elasticsearch | Elasticsearch | Spring Framework | Spring Boot -| 2021.2 (Raj) | 4.4.x | 7.17.9 | 5.3.x | 2.7.x +| 2021.2 (Raj) | 4.4.x | 7.17.12 | 5.3.x | 2.7.x | 2021.1 (Q) | 4.3.x | 7.15.2 | 5.3.x | 2.6.x | 2021.0 (Pascal) | 4.2.xfootnote:oom[Out of maintenance] | 7.12.0 | 5.3.x | 2.5.x | 2020.0 (Ockham)footnote:oom[] | 4.1.xfootnote:oom[] | 7.9.3 | 5.3.2 | 2.4.x diff --git a/src/main/asciidoc/reference/elasticsearch-migration-guide-4.3-4.4.adoc b/src/main/asciidoc/reference/elasticsearch-migration-guide-4.3-4.4.adoc index 3c7ede38c..b477dd398 100644 --- a/src/main/asciidoc/reference/elasticsearch-migration-guide-4.3-4.4.adoc +++ b/src/main/asciidoc/reference/elasticsearch-migration-guide-4.3-4.4.adoc @@ -82,7 +82,7 @@ The dependencies for the new Elasticsearch client are still optional in Spring D co.elastic.clients elasticsearch-java - 7.17.9 + 7.17.12 commons-logging @@ -93,7 +93,7 @@ The dependencies for the new Elasticsearch client are still optional in Spring D org.elasticsearch.client elasticsearch-rest-client - 7.17.9 + 7.17.12 commons-logging diff --git a/src/test/resources/testcontainers-elasticsearch.properties b/src/test/resources/testcontainers-elasticsearch.properties index 6b386f0c6..522e02e1e 100644 --- a/src/test/resources/testcontainers-elasticsearch.properties +++ b/src/test/resources/testcontainers-elasticsearch.properties @@ -15,7 +15,7 @@ # # sde.testcontainers.image-name=docker.elastic.co/elasticsearch/elasticsearch -sde.testcontainers.image-version=7.17.9 +sde.testcontainers.image-version=7.17.12 # # # needed as we do a DELETE /* at the end of the tests, will be required from 8.0 on, produces a warning since 7.13