-
Notifications
You must be signed in to change notification settings - Fork 919
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUILD] pin Maven compiler target version to Java 8 and remove explict compiler release version #6766
base: master
Are you sure you want to change the base?
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #6766 +/- ##
======================================
Coverage 0.00% 0.00%
======================================
Files 687 687
Lines 42442 42442
Branches 5793 5793
======================================
Misses 42442 42442 ☔ View full report in Codecov by Sentry. 🚨 Try these New Features:
|
since we set parent pom to |
SGTM. Applied a similar patch to our pom. And it could be removed when apache parent pom 34 released in the future. |
Builds failed for missing class/package
|
cc @LuciferYang, could you please give some advice if you have time? thanks in advance. |
72c92e5
to
0114f56
Compare
<maven.compiler.source>${java.version}</maven.compiler.source> | ||
<maven.compiler.target>${java.version}</maven.compiler.target> | ||
<!-- Pinning compiler target to Java 8--> | ||
<maven.compiler.target>8</maven.compiler.target> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
IIRC,In principle, maven.compiler.source
and maven.compiler.target
should be set as a pair.
Ignoring the above comments, it seems that it's not the plugin that adds
So, without modifying the code, when building with Java 17/21, the |
0114f56
to
ffe3c85
Compare
ffe3c85
to
df76065
Compare
🔍 Description
Issue References 🔗
This pull request fixes #
Describe Your Solution 🔧
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
Types of changes 🔖
Test Plan 🧪
Behavior Without This Pull Request ⚰️
Behavior With This Pull Request 🎉
Related Unit Tests
Checklist 📝
Be nice. Be informative.