[
https://issues.apache.org/jira/browse/AMQ-8489?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Robbie Gemmell updated AMQ-8489:
--------------------------------
Description: 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. (was: 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, it just is checking for Java 8.
Add an enforcer check (or rather, replace the ineffective existing one) to make
the build fail immediately and in a quickly obvious "you must build using Java
8" way.)
> 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
>
>
> 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)