[ https://issues.apache.org/jira/browse/SUREFIRE-2221?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17796308#comment-17796308 ]
ASF GitHub Bot commented on SUREFIRE-2221: ------------------------------------------ sbernard31 commented on code in PR #701: URL: https://github.com/apache/maven-surefire/pull/701#discussion_r1425454077 ########## maven-surefire-plugin/src/site/apt/examples/toolchains.apt.vm: ########## @@ -54,3 +54,36 @@ Using Maven Toolchains with ${thisPlugin}. +---+ The above example assumes that your toolchains.xml contains a valid entry with these values. + +* Minimal Java Versoin for Toolchains + + Unfortunately, the minimum version of Java that can be used as a toolchain is limited by the Surefire Booter requirement. + +*---------------------------------------------+---------------------------+-------------------------+ +|| <<Surefire Version>> || <<Minimal Java Version>> || <<Class File Version>> | +*---------------------------------------------+---------------------------+-------------------------+ +| 3.0.0-M6 or higher | Java 8 | 52 | +*---------------------------------------------+---------------------------+-------------------------+ +| 3.0.0-M5 and lower | Java 7 | 51 | +*---------------------------------------------+---------------------------+-------------------------+ +| To Be Completed | Java 6 | 50 | Review Comment: Like explained at https://github.com/apache/maven-surefire/pull/701#discussion_r1425440185 Ideally we need all between 2.5 and now. 2.5 -> 1.3 ? -> 1.4 ? -> 1.5 before 3.0.0-M1 -> 1.6 3.0.0-M5 and lower -> 1.7 more -> 1.8 > Document minimum supported Java version for Toolchains > ------------------------------------------------------ > > Key: SUREFIRE-2221 > URL: https://issues.apache.org/jira/browse/SUREFIRE-2221 > Project: Maven Surefire > Issue Type: Improvement > Affects Versions: 3.2.3 > Reporter: Michael Osipov > Assignee: Michael Osipov > Priority: Major > Fix For: 3.2.4 > > > As it turns out, even if Toolchains is used with an older Java version the > base line is always Java 8 since Surefire requires Java 8 as minimum. We > should document that since people are having a hard time with this, see > SUREFIRE-1923. -- This message was sent by Atlassian Jira (v8.20.10#820010)