feat(build): Maven POM cosmetics#1865
Merged
Merged
Conversation
Replace deprecated source/target options with maven-compiler-plugin's 'release' configuration. Decouple development and build JDK targets by introducing explicit properties and relaxed range-based Enforcer rules for minimum Java and Maven versions.
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1865 +/- ##
============================================
- Coverage 92.58% 92.56% -0.02%
+ Complexity 3565 3564 -1
============================================
Files 346 346
Lines 7050 7050
Branches 684 684
============================================
- Hits 6527 6526 -1
Misses 363 363
- Partials 160 161 +1 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
asolntsev
approved these changes
Jun 29, 2026
asolntsev
left a comment
Collaborator
There was a problem hiding this comment.
Looks good, I guess :)
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.
Description:
This PR makes subtle optimizations to
pom.xmlin order to improve developer experience, build flexibility, and maintenance.The changes are split into separate, self-contained commits. This allows you to review and cherry-pick (or drop) specific improvements independently, depending on what should be adopted.
Changes:
<defaultGoal>clean verify</defaultGoal>to enable full lifecycle builds via a simplemvnexecution.source/targetoptions with the modern<release>compiler configuration.[17,)), allowing builds with newer JDKs (e.g., Java 21) while ensuring minimum requirements.versions-maven-pluginconfigured to filter out non-stable pre-releases (alpha, beta, rc, etc.) for streamlined dependency checks.<additionalparam>Javadoc property.