Skip to content

CI: build on Temurin 17 - #21

Merged
minoneer merged 1 commit into
masterfrom
fix/ci
Nov 1, 2026
Merged

minoneer merged 1 commit into
masterfrom
fix/ci

Conversation

@minoneer

@minoneer minoneer commented Nov 1, 2026

Copy link
Copy Markdown
Owner

Problem

CI on master fails since the Dependabot merges:

  • actions/setup-java@v6 no longer accepts the adopt distribution: ##[error]No supported distribution was found for input adopt.
  • Behind that, JUnit 6.1.3 (bumped from 5.10.0) is compiled for Java 17, so the test compile fails on JDK 11: class file has wrong version 61.0, should be 55.0.

Fix

Build with temurin / Java 17 in maven.yml. The plugin itself is still compiled with source/target 11 (class file version 55), so runtime compatibility is unchanged.

Tested

mvn -B clean package locally: fails on JDK 11 with the error above; passes on JDK 18 and 21 (35 tests, jar classes are version 55). CI on this PR.

setup-java v6 no longer supports the 'adopt' distribution, and JUnit 6
needs Java 17. The plugin is still compiled for Java 11 (source/target 11).
@minoneer
minoneer merged commit e4dcf30 into master Nov 1, 2026
1 check passed
@minoneer
minoneer deleted the fix/ci branch November 1, 2026 12:57
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