Skip to content

Commit 6100c24

Browse files
authored
Cleanup.
Original Pull Request #2526 Closes #2525
1 parent d597bac commit 6100c24

File tree

13 files changed

+2
-72
lines changed

13 files changed

+2
-72
lines changed

pom.xml

Lines changed: 0 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@
4343
-->
4444
<mvn.unit-test.goal>test</mvn.unit-test.goal>
4545
<mvn.integration-test-elasticsearch.goal>integration-test</mvn.integration-test-elasticsearch.goal>
46-
<mvn.integration-test-opensearch.goal>none</mvn.integration-test-opensearch.goal>
4746
</properties>
4847

4948
<developers>
@@ -279,24 +278,6 @@
279278
<scope>test</scope>
280279
</dependency>
281280

282-
283-
<!--
284-
we don't use lombok in Spring Data Elasticsearch anymore. But the dependency is set in the parent project, and so the
285-
lombok compiler stuff is executed regardless of the fact that we don't need it.
286-
On AdoptOpenJdk 16.0.0 this leads to an error, so the project does not build.
287-
Therefore we replace lombok with a jar - that just contains an empty file - that lives in a local maven repository in
288-
src/test/resources/local-maven-repo/
289-
It was installed with
290-
mvn deploy:deploy-file -DgroupId=org.projectlombok -DartifactId=lombok -Dversion=999999 -Durl=file:./src/test/resources/local-maven-repo/ -DrepositoryId=local-maven-repo -DupdateReleaseInfo=true -Dfile=path/to/empty.jar
291-
-->
292-
<dependency>
293-
<groupId>org.projectlombok</groupId>
294-
<artifactId>lombok</artifactId>
295-
<!--suppress MavenPackageUpdate -->
296-
<version>999999</version>
297-
<scope>test</scope>
298-
</dependency>
299-
300281
<dependency>
301282
<groupId>org.skyscreamer</groupId>
302283
<artifactId>jsonassert</artifactId>
@@ -419,20 +400,6 @@
419400
</systemPropertyVariables>
420401
</configuration>
421402
</execution>
422-
<!-- execution to run the integration tests against Opensearch -->
423-
<execution>
424-
<id>integration-test-opensearch</id>
425-
<phase>${mvn.integration-test-opensearch.goal}</phase>
426-
<goals>
427-
<goal>test</goal>
428-
</goals>
429-
<configuration>
430-
<groups>integration-test</groups>
431-
<systemPropertyVariables>
432-
<sde.integration-test.environment>opensearch</sde.integration-test.environment>
433-
</systemPropertyVariables>
434-
</configuration>
435-
</execution>
436403
</executions>
437404
</plugin>
438405
<plugin>

src/main/java/org/springframework/data/elasticsearch/core/AbstractElasticsearchTemplate.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666
/**
6767
* This class contains methods that are common to different implementations of the {@link ElasticsearchOperations}
6868
* interface that use different clients, like RestHighLevelClient and the next Java client from Elasticsearch or some
69-
* future implementation that might use an Opensearch client. This class must not contain imports or use classes that
69+
* external implementation that might use a different client. This class must not contain imports or use classes that
7070
* are specific to one of these implementations.
7171
* <p>
7272
* <strong>Note:</strong> Although this class is public, it is not considered to be part of the official Spring Data

src/test/java/org/springframework/data/elasticsearch/junit/jupiter/IntegrationtestEnvironment.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
*/
2121
public enum IntegrationtestEnvironment {
2222

23-
ELASTICSEARCH, OPENSEARCH, UNDEFINED;
23+
ELASTICSEARCH, UNDEFINED;
2424

2525
public static final String SYSTEM_PROPERTY = "sde.integration-test.environment";
2626

@@ -29,7 +29,6 @@ public static IntegrationtestEnvironment get() {
2929
String property = System.getProperty(SYSTEM_PROPERTY, "elasticsearch");
3030
return switch (property.toUpperCase()) {
3131
case "ELASTICSEARCH" -> ELASTICSEARCH;
32-
case "OPENSEARCH" -> OPENSEARCH;
3332
default -> UNDEFINED;
3433
};
3534
}
Binary file not shown.

src/test/resources/local-maven-repo/org/projectlombok/lombok/999999/lombok-999999.jar.md5

Lines changed: 0 additions & 1 deletion
This file was deleted.

src/test/resources/local-maven-repo/org/projectlombok/lombok/999999/lombok-999999.jar.sha1

Lines changed: 0 additions & 1 deletion
This file was deleted.

src/test/resources/local-maven-repo/org/projectlombok/lombok/999999/lombok-999999.pom

Lines changed: 0 additions & 8 deletions
This file was deleted.

src/test/resources/local-maven-repo/org/projectlombok/lombok/999999/lombok-999999.pom.md5

Lines changed: 0 additions & 1 deletion
This file was deleted.

src/test/resources/local-maven-repo/org/projectlombok/lombok/999999/lombok-999999.pom.sha1

Lines changed: 0 additions & 1 deletion
This file was deleted.

src/test/resources/local-maven-repo/org/projectlombok/lombok/maven-metadata.xml

Lines changed: 0 additions & 12 deletions
This file was deleted.

src/test/resources/local-maven-repo/org/projectlombok/lombok/maven-metadata.xml.md5

Lines changed: 0 additions & 1 deletion
This file was deleted.

src/test/resources/local-maven-repo/org/projectlombok/lombok/maven-metadata.xml.sha1

Lines changed: 0 additions & 1 deletion
This file was deleted.

src/test/resources/testcontainers-opensearch.properties

Lines changed: 0 additions & 10 deletions
This file was deleted.

0 commit comments

Comments
 (0)