[
https://issues.apache.org/jira/browse/HIVE-25799?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17543441#comment-17543441
]
Sylwester Lachiewicz commented on HIVE-25799:
---------------------------------------------
we are working to be able to compile with newer java version
> 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: 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.7#820007)