Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-25799

Maven should stop early for unsupported java versions

Log workAgile BoardRank to TopRank to BottomBulk Copy AttachmentsBulk Move AttachmentsAdd voteVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    Description

      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

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            jsoref Josh Soref Assign to me
            jsoref Josh Soref

            Dates

              Created:
              Updated:

              Time Tracking

              Estimated:
              Original Estimate - Not Specified
              Not Specified
              Remaining:
              Remaining Estimate - 0h
              0h
              Logged:
              Time Spent - 3h 40m
              3h 40m

              Slack

                Issue deployment