[
https://issues.apache.org/jira/browse/HIVE-25799?focusedWorklogId=854778&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-854778
]
ASF GitHub Bot logged work on HIVE-25799:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 04/Apr/23 12:27
Start Date: 04/Apr/23 12:27
Worklog Time Spent: 10m
Work Description: jsoref commented on PR #2866:
URL: https://github.com/apache/hive/pull/2866#issuecomment-1495887185
Not waste time trying to build with a different version./ Get a prettier
error message that makes it clear which compiler is supported.
Personally, I'd rather it work with 11 or 17, but that wasn't the case and
it was an expensive error.
Issue Time Tracking
-------------------
Worklog Id: (was: 854778)
Time Spent: 2h 40m (was: 2.5h)
> 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: 2h 40m
> 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)