You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Josh Soref (Jira)" <ji...@apache.org> on 2021/12/11 23:09:00 UTC

[jira] [Created] (HIVE-25799) Maven should stop early for unsupported java versions

Josh Soref created HIVE-25799:
---------------------------------

             Summary: 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


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.1#820001)