You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Robbie Gemmell (Jira)" <ji...@apache.org> on 2022/02/17 10:57:00 UTC

[jira] [Resolved] (AMQ-8489) fail fast and obviously if building on something other than Java 11+

     [ https://issues.apache.org/jira/browse/AMQ-8489?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robbie Gemmell resolved AMQ-8489.
---------------------------------
    Resolution: Fixed

> fail fast and obviously if building on something other than Java 11+
> --------------------------------------------------------------------
>
>                 Key: AMQ-8489
>                 URL: https://issues.apache.org/jira/browse/AMQ-8489
>             Project: ActiveMQ
>          Issue Type: Task
>    Affects Versions: 5.17.0
>            Reporter: Robbie Gemmell
>            Assignee: Robbie Gemmell
>            Priority: Minor
>             Fix For: 5.17.0
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> The main/5.17.x build requires you build using Java 11+. It obviously fails if run on e.g 8, which the 5.16.x build requires is used. It does fail reasonably fast, but only after e.g installing the root pom. There is an enforcer check for the Java version already in the parent, it just is checking for Java 8. Replace it with one to make the build fail immediately and in a quickly obvious "you must build using Java 11+" way.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)