Repository navigation
Remove compiler properties the parent chain already sets - #2249
Merged
Merged
Conversation
slachiewicz
marked this pull request as ready for review
October 30, 2026 06:28
gnodet-bot
approved these changes
Oct 30, 2026
gnodet-bot
left a comment
Contributor
There was a problem hiding this comment.
Following up on my earlier review — both issues have been addressed.
- PR description — ✅ Updated to correctly attribute
maven.compiler.releaseto thejdk9+profile of the grandparentorg.apache:apache:40. - Blank line in
maven-resolver-transport-minio/pom.xml— ✅ Removed along with thejavaVersionproperty.
The new commit also removes the redundant <properties><javaVersion>8</javaVersion></properties> block from maven-resolver-transport-jdk8/pom.xml, which is clean and consistent with the rest of the cleanup.
The effective POM is unchanged: ${javaVersion} continues to resolve to 8 from maven-parent:50, maven.compiler.release comes from apache:40's jdk9+ profile (always active since JDK 11+ is required), and the explicit maven.compiler.source/target kept in the root POM correctly override the jdk8 profile that is inactive at build time.
This review was generated by an AI agent, Hermès on behalf of @gnodet.
55 of 73 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
javaVersion8 is already set bymaven-parent:50, andmaven.compiler.releaseis set from it by thejdk9+profile of the grandparentorg.apache:apache:40, which is always active because the build requires JDK 21.maven.compiler.sourceandtargetgo too: withreleaseset they are not passed to javac on JDK 9+, and with a JDK 8 toolchain maven-compiler-plugin falls back to its1.8defaults, the same asjavaVersion8.Verified:
help:effective-pom→ onlymaven.compiler.source/targetdisappear;maven.compiler.releasestays in all 31 modules at theirjavaVersionPart of apache/maven#13757