Skip to content

Summary / Java Version : Use release in configuration of maven compiler or maven.compiler.release#113

Open
lgringo wants to merge 1 commit intoapache:masterfrom
lgringo:Java_Version_Using_Release
Open

Summary / Java Version : Use release in configuration of maven compiler or maven.compiler.release#113
lgringo wants to merge 1 commit intoapache:masterfrom
lgringo:Java_Version_Using_Release

Conversation

@lgringo
Copy link

@lgringo lgringo commented Mar 15, 2025

The maven compiler plugin allow to configure java version using the release flag of javac (https://maven.apache.org/plugins/maven-compiler-plugin/examples/set-compiler-release.html)

This PR updates the summary report to print "Java Version" using this new flag if provided.


Following this checklist to help us incorporate your
contribution quickly and easily:

  • Your pull request should address just one issue, without pulling in other changes.
  • Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
  • Each commit in the pull request should have a meaningful subject line and body.
    Note that commits might be squashed by a maintainer on merge.
  • Write unit tests that match behavioral changes, where the tests fail if the changes to the runtime are not applied.
    This may not always be possible but is a best-practice.
  • Run mvn verify to make sure basic checks pass.
    A more thorough check will be performed on your pull request automatically.
  • You have run the integration tests successfully (mvn -Prun-its verify).

If your pull request is about ~20 lines of code you don't need to sign an
Individual Contributor License Agreement if you are unsure
please ask on the developers list.

To make clear that you license your contribution under
the Apache License Version 2.0, January 2004
you have to acknowledge this by using the following check-box.

@Bukama Bukama requested a review from desruisseaux April 7, 2025 19:51
@Bukama
Copy link
Contributor

Bukama commented Dec 1, 2025

@desruisseaux Maybe you have a few mins to take a look at this :)

@slawekjaranowski slawekjaranowski force-pushed the Java_Version_Using_Release branch from 17b43b1 to 39a9085 Compare February 16, 2026 22:10
Copy link
Member

@slawekjaranowski slawekjaranowski left a comment

Choose a reason for hiding this comment

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

a unit test will be appreciated ... but I'm ok as is

@slawekjaranowski
Copy link
Member

rebased, such is old one PR 😄

@slawekjaranowski slawekjaranowski self-assigned this Feb 16, 2026
@slawekjaranowski slawekjaranowski added the enhancement New feature or request label Feb 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants