Skip to content

Update non library packages to Java 21#503

Merged
JohT merged 1 commit intomainfrom
feature/update-integration-tests-to-java-11
Mar 17, 2026
Merged

Update non library packages to Java 21#503
JohT merged 1 commit intomainfrom
feature/update-integration-tests-to-java-11

Conversation

@JohT
Copy link
Owner

@JohT JohT commented Mar 1, 2026

@JohT JohT self-assigned this Mar 1, 2026
@JohT JohT force-pushed the feature/update-integration-tests-to-java-11 branch from d192412 to 29a7320 Compare March 17, 2026 19:02
@JohT JohT changed the title Update integration tests to java 11 Update non library packages to Java 21 Mar 17, 2026
@JohT JohT force-pushed the feature/update-integration-tests-to-java-11 branch 2 times, most recently from 150c298 to d818160 Compare March 17, 2026 19:33
@JohT JohT requested a review from Copilot March 17, 2026 19:36
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR migrates the project’s non-library build/runtime configuration to Java 21, updating Maven and CI settings accordingly while modernizing test dependencies.

Changes:

  • Bump the root Maven build java.version to 21 and upgrade Mockito usage (mockito-allmockito-core, Mockito 5.5.0).
  • Update the integration-test module POM to inherit from the parent (removing local Java 8 config and some duplicated plugin/test version properties).
  • Update GitHub Actions workflows to run CI and CodeQL with Java 21 and remove the separate Java 8 setup for integration tests.

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
pom.xml Sets Java 21 at the parent level; upgrades Mockito; adjusts changelog plugin execution scope; adds surefire locale settings.
type-alias-axon-serializer/pom.xml Replaces deprecated mockito-all with mockito-core for tests.
type-alias-axon-serializer-integration-test/pom.xml Adds alias-parent as parent and removes module-local Java 8 property and some duplicated version properties.
.github/workflows/continuous-integration.yml Switches CI Java version to 21 and removes the extra JDK 8 setup step.
.github/workflows/codeql-analysis.yml Ensures CodeQL Java analysis uses a configured JDK 21.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@JohT JohT force-pushed the feature/update-integration-tests-to-java-11 branch from aa93a5e to a94a4a8 Compare March 17, 2026 19:56
@JohT JohT merged commit 235304e into main Mar 17, 2026
4 checks passed
@JohT JohT deleted the feature/update-integration-tests-to-java-11 branch March 17, 2026 19:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants