refactor: Update micronaut and postgresql libraries - #10345
Draft
Kef131 wants to merge 7 commits into
Draft
Conversation
Bumps [io.micronaut:micronaut-inject](https://github.com/micronaut-projects/micronaut-core) from 3.10.3 to 4.10.22. - [Release notes](https://github.com/micronaut-projects/micronaut-core/releases) - [Changelog](https://github.com/micronaut-projects/micronaut-core/blob/5.1.x/RELEASE.adoc) - [Commits](micronaut-projects/micronaut-core@v3.10.3...v4.10.22) --- updated-dependencies: - dependency-name: io.micronaut:micronaut-inject dependency-version: 4.10.22 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com>
Contributor
There was a problem hiding this comment.
Code Review
This pull request updates dependency versions across several pom.xml files, including upgrading PostgreSQL to 42.7.11 and Micronaut to newer versions. Feedback highlights that upgrading Micronaut from 3.x to 4.x in the flexible/java-17 sample introduces breaking changes due to the namespace migration from javax to jakarta. It is recommended to use version 3.10.10 instead to maintain compatibility and consistency with other samples.
…helloworld Micronaut 4.10.22 breaks dependency resolution because io.micronaut:micronaut-validation was moved to a new group ID in Micronaut 4. Keeping it on 3.10.10 matches appengine-java11/micronaut-helloworld and allows dependencies to resolve cleanly.
- In ApacheIcebergIT, replace rigid 60s sleep with polling up to 3 minutes, avoiding race conditions before writing data to Cloud Storage. - In ApacheIcebergIT, handle GCS bucket creation and cleanup safely with Assume. - In Cloud SQL client-side encryption tests, use JUnit Assume so tests skip gracefully when required environment variables or live DB/KMS resources are unavailable in CI.
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.
Description
Fixes #
b/511911721
b/511714659
b/511714136
b/511093634
Checklist
Testing
mvn clean verifyrequiredmvn -P lint checkstyle:checkrequiredmvn -P lint clean compile pmd:cpd-check spotbugs:checkadvisory onlyCompliance & Style
pom.xmlparent set to latestshared-configurationPost-Approval Actions