Skip to content

fix: set java version for compiler plugin - #901

Merged
holgpar merged 1 commit into
mainfrom
holger/setJavaVersionForCompilerPlugin
Oct 14, 2026
Merged

holgpar merged 1 commit into
mainfrom
holger/setJavaVersionForCompilerPlugin

Conversation

@holgpar

@holgpar holgpar commented Oct 12, 2026

Copy link
Copy Markdown
Contributor

Without this setting, Intellij IDE falls back to byte code version 1.5
(stone age) for some of the modules. One can configure it manually, but
once a maven sync is done, 1.5. pops up again.

@hyperspace-pr-bot

Copy link
Copy Markdown
Contributor

Summary

The following content is AI-generated and provides a summary of the pull request:


Configure Java Release for Maven Compiler Plugin

Bug Fix

🐛 Configure the Maven compiler plugin to consistently target the project’s declared Java version. This prevents IntelliJ IDEA from reverting some modules to Java 1.5 bytecode after Maven synchronization.

Changes

  • pom.xml: Set the maven-compiler-plugin release target to ${java.version}, aligning Maven builds and IDE-imported module settings with the project’s configured Java version.

  • 🔄 Regenerate and Update Summary
  • ✏️ Insert as PR Description (deletes this comment)
  • 🗑️ Delete comment
PR Bot Information

Version: 1.32.18

  • File Content Strategy: Full file content
  • Output Template: Default Template
  • Correlation ID: 1afd3080-c650-11f1-834e-99ccfb856467
  • LLM: gpt-5.6-sol
  • Summary Prompt: Default Prompt
  • Event Trigger: pull_request.opened

@hyperspace-pr-bot hyperspace-pr-bot Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

No substantive issues found. The explicit compiler configuration is consistent with the existing Java 21 build settings and appropriately addresses IDE Maven-import behavior.

PR Bot Information

Version: 1.32.18

  • Agent Instructions:
  • File Content Strategy: Full file content
  • Correlation ID: 1afd3080-c650-11f1-834e-99ccfb856467
  • LLM: gpt-5.6-sol
  • Event Trigger: pull_request.opened

@holgpar
holgpar requested a review from tomk8r October 12, 2026 15:19
Without this setting, Intellij IDE falls back to byte code version 1.5
(stone age) for some of the modules. One can configure it manually, but
once a maven sync is done, 1.5. pops up again.
@holgpar
holgpar force-pushed the holger/setJavaVersionForCompilerPlugin branch from f8232f7 to 9489951 Compare October 13, 2026 13:54
@holgpar
holgpar requested a review from a team as a code owner October 13, 2026 13:54
@holgpar
holgpar merged commit 53777d7 into main Oct 14, 2026
19 of 20 checks passed
@holgpar
holgpar deleted the holger/setJavaVersionForCompilerPlugin branch October 14, 2026 07:28
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