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

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=17493864#comment-17493864 ] 

ASF subversion and git services commented on AMQ-8489:
------------------------------------------------------

Commit a4b396db91b71e84302f74f262a146ed26a386bf in activemq's branch refs/heads/main from Robbie Gemmell
[ https://gitbox.apache.org/repos/asf?p=activemq.git;h=a4b396d ]

AMQ-8489: make the build fail quickly and obviously if not run on Java 11+, which is required.

Overrides the existing parent pom enforcer check. Updates to current plugin version.


> 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: 10m
>  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)