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)

Reply via email to