Skip to content

Remove the compiler source and target properties - #13765

Merged
slachiewicz merged 1 commit into
apache:masterfrom
slachiewicz:compiler-source-target
Oct 31, 2026
Merged

slachiewicz merged 1 commit into
apache:masterfrom
slachiewicz:compiler-source-target

Conversation

@slachiewicz

Copy link
Copy Markdown
Member

maven.compiler.release is already set from javaVersion (17) by the jdk9+ profile of org.apache:apache:40, which is always active because the build requires JDK 17. With release set, source and target are not passed to javac, so the two properties have no effect; the commented-out pair in its/pom.xml goes as well.

Verified: help:effective-pom → only maven.compiler.source/target disappear; maven.compiler.release stays 17 in all 39 modules

Part of #13757

@slachiewicz
slachiewicz marked this pull request as ready for review October 31, 2026 00:17
@slachiewicz
slachiewicz merged commit edb7462 into apache:master Oct 31, 2026
22 checks passed
@github-actions github-actions Bot added this to the 4.2.0 milestone Oct 31, 2026
@slachiewicz
slachiewicz deleted the compiler-source-target branch October 31, 2026 22:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant