Skip to content

chore!: set minimum Java version to 21#149

Merged
jimisola merged 2 commits intomainfrom
chore/fix-version-requirements
Mar 7, 2026
Merged

chore!: set minimum Java version to 21#149
jimisola merged 2 commits intomainfrom
chore/fix-version-requirements

Conversation

@jimisola
Copy link
Member

@jimisola jimisola commented Mar 7, 2026

Summary

  • Update maven.compiler.source and maven.compiler.target from 1.8 to 21
  • Add maven.compiler.release=21 to match reqstool-java-annotations
  • CI already builds and tests with Java 21 — no workflow changes needed

BREAKING CHANGE: Minimum Java version is now 21 (was 1.8).

Context

Part of Phase 9.2 of the documentation overhaul. The annotations module already requires Java 21, so the ecosystem minimum is effectively Java 21 regardless. Keeping the plugin at 1.8 creates a false compatibility signal.

Test plan

  • CI build passes (already uses Java 21)
  • No source code changes needed (bytecode target only)

Update maven.compiler.source and maven.compiler.target from 1.8 to 21,
and add maven.compiler.release=21 to match the reqstool-java-annotations
module. CI already builds with Java 21.

BREAKING CHANGE: Minimum Java version is now 21 (was 1.8).

Signed-off-by: jimisola <jimisola@jimisola.com>
@jimisola jimisola self-assigned this Mar 7, 2026
@jimisola jimisola merged commit aa62b90 into main Mar 7, 2026
7 checks passed
@jimisola jimisola deleted the chore/fix-version-requirements branch March 7, 2026 19:55
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.

1 participant