You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Josh Soref (Jira)" <ji...@apache.org> on 2024/01/07 01:00:00 UTC
[jira] [Commented] (HIVE-25799) Maven should stop early for unsupported java versions
[ https://issues.apache.org/jira/browse/HIVE-25799?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17803888#comment-17803888 ]
Josh Soref commented on HIVE-25799:
-----------------------------------
In the interim, maybe it'd be nice to merge this? You can revert it while testing work to support newer versions...
> 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: 3h 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)