[
https://issues.apache.org/jira/browse/HIVE-25799?focusedWorklogId=854734&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-854734
]
ASF GitHub Bot logged work on HIVE-25799:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 04/Apr/23 09:27
Start Date: 04/Apr/23 09:27
Worklog Time Spent: 10m
Work Description: TuroczyX commented on PR #2866:
URL: https://github.com/apache/hive/pull/2866#issuecomment-1495641994
@jsoref With this change what would you like to achieve? Yes, the hive is
currently only build with JDK8. But from runtime perspective it is possible to
use 11 or even 17th. (Hopefully 20th will come soon) cc: @InvisibleProgrammer
Would you like to build with 11? I'm not familiar with this rules, but I can
tell we haven't tried to build it with 11. @akshat0395
Issue Time Tracking
-------------------
Worklog Id: (was: 854734)
Time Spent: 2.5h (was: 2h 20m)
> Maven should stop early for unsupported java versions
> -----------------------------------------------------
>
> Key: HIVE-25799
> URL: https://issues.apache.org/jira/browse/HIVE-25799
> Project: Hive
> Issue Type: Improvement
> Components: Build Infrastructure
> Reporter: Josh Soref
> Assignee: Josh Soref
> Priority: Trivial
> Labels: pull-request-available
> Time Spent: 2.5h
> Remaining Estimate: 0h
>
> I made the mistake of using my default java compiler (which apparently is 17)
> to build hive, and it failed. If hive only supports a certain version (or
> ranges of versions) of java, it would be incredibly helpful if maven reported
> this eagerly.
> This is easily achievable using the maven enforcer system (a number of
> enforcers are already deployed in the top level pom):
> [https://maven.apache.org/enforcer/enforcer-rules/requireJavaVersion.html]
--
This message was sent by Atlassian Jira
(v8.20.10#820010)