Skip to content

Raise Java baseline from 1.8 to 11 - #271

Merged
svekar merged 1 commit into
masterfrom
java-11-baseline
Aug 16, 2026
Merged

svekar merged 1 commit into
masterfrom
java-11-baseline

Conversation

@svekar

@svekar svekar commented Aug 16, 2026

Copy link
Copy Markdown
Owner

Summary

  • Replace maven.compiler.source/target=1.8 with maven.compiler.release=11 on the root aggregator pom, propagating to all submodules except servlet/simple (already pinned to 19, required by Jetty 12 / Jakarta Servlet 6.1)
  • Drop the redundant per-module 1.8 override in xml/jaxb/generate-code-from-xsd, which already depends explicitly on javax.xml.bind:jaxb-api + jaxb-runtime rather than JDK-bundled JAXB (removed in Java 11)
  • Remove circle.yml and Jenkinsfile: circle.yml hardcoded JDK 8 and -Dmaven.compiler.source/target=1.8 flags that would conflict with the new baseline, and both are superseded by the active GitHub Actions CI (build-with-maven.yml)

Test plan

  • mvn --batch-mode --strict-checksums verify — all 8 modules build, tests pass
  • mvn checkstyle:checkstyle -Dcheckstyle.config.location=google_checks.xml -Dcheckstyle.suppressions.location=./checkstyle-suppressions.xml
  • mvn pmd:check pmd:cpd -DlinkXRef=false
  • Verified xml/jaxb/generate-code-from-xsd's dependency tree resolves javax.activation-api transitively under the new baseline

🤖 Generated with Claude Code

https://claude.ai/code/session_01Xc3mSQVPd3CmhzCkx97aXP

Replace maven.compiler.source/target=1.8 with maven.compiler.release=11
on the root aggregator pom, propagating to all submodules except
servlet/simple (already pinned to 19, required by Jetty 12 / Jakarta
Servlet 6.1). Drop the redundant per-module 1.8 override in
xml/jaxb/generate-code-from-xsd, which already depends explicitly on
javax.xml.bind:jaxb-api + jaxb-runtime rather than JDK-bundled JAXB.

Remove circle.yml and Jenkinsfile: circle.yml hardcoded JDK 8 and
-Dmaven.compiler.source/target=1.8 flags that would conflict with the
new baseline, and both are superseded by the active GitHub Actions CI
(build-with-maven.yml).

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Xc3mSQVPd3CmhzCkx97aXP
@github-actions

Copy link
Copy Markdown

Unit Test Results

18 tests  ±0   18 ✅ ±0   2s ⏱️ ±0s
 6 suites ±0    0 💤 ±0 
 6 files   ±0    0 ❌ ±0 

Results for commit 9ca65e5. ± Comparison against base commit c9ed418.

@svekar
svekar merged commit 11556ec into master Aug 16, 2026
8 checks passed
@svekar
svekar deleted the java-11-baseline branch August 16, 2026 04:21
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