springtainer-example: Update auf Spring Boot 4.1.X und Java 25 - #3
Open
julian-eggers wants to merge 4 commits into
Open
springtainer-example: Update auf Spring Boot 4.1.X und Java 25#3julian-eggers wants to merge 4 commits into
julian-eggers wants to merge 4 commits into
Conversation
Raise spring-boot.version 3.5.16 -> 4.1.0, java.version 21 -> 25 and all springtainer modules to their new major lines. Add <proc>full</proc> to maven-compiler-plugin: Lombok is picked up from the classpath and needs annotation processing enabled explicitly. Drive Elasticsearch through ElasticsearchClient instead of spring-data-elasticsearch. Its 6.x line requires an Elasticsearch 9 client, which cannot talk to the Elasticsearch 8 servers we run: index and get keep working, but every search fails with NoSuchMethodError on SearchRequest$Builder.includeNamedQueriesScore. The client is pinned to 8.19.19 on the dependency itself, since a local property does not override a BOM imported with scope=import. Move the Mongo connection setting to spring.mongodb.uri. Those settings live in the spring-boot-mongodb module now; spring.data.mongodb.uri no longer exists, so the application silently fell back to localhost:27017. Redis keeps its spring.data.redis.* prefix. Declare spring-boot-restclient and spring-boot-resttestclient, and annotate AbstractIT with @AutoConfigureTestRestTemplate: TestRestTemplate moved to org.springframework.boot.resttestclient and is no longer configured by @SpringBootTest on its own.
The client follows the Spring Boot BOM again, so Rest5Client replaces the pinned 8.x RestClient.
|
The workflow only listens on master. This is reverted by the review-side autoupdate once the release has gone through. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018DK51mDYaArzg9zFLftpsd
The release candidate is published, so the workflow listens on master again. These two repositories have no autoupdate step that would have reverted this on their own. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018DK51mDYaArzg9zFLftpsd
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Hebt
springtainer-exampleauf Spring Boot 4.1.0 und Java 25. Zielversion 2.0.0-RC1.Merge-Reihenfolge
Die CI dieses PRs bleibt so lange rot, bis die folgenden Libraries gemergt und released sind - ihre RC-Artefakte liegen bisher nur lokal:
springtainer-awss3mockspringtainer-elasticsearchspringtainer-mockserverspringtainer-mongodbspringtainer-mysqlspringtainer-rabbitmqspringtainer-redisTicket: https://avides.atlassian.net/browse/LIBRARIES-1752
Epic: https://avides.atlassian.net/browse/ITGS-470