Skip to content

Commit

Permalink
Fix review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
sbernard31 committed Dec 13, 2023
1 parent ae5bc03 commit 706032a
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions maven-surefire-plugin/src/site/apt/examples/toolchains.apt.vm
Original file line number Diff line number Diff line change
Expand Up @@ -55,21 +55,21 @@ Using Maven Toolchains with ${thisPlugin}.

The above example assumes that your toolchains.xml contains a valid entry with these values.

* Minimal java version for toolchain
* 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 Format>> |
*---------------------------------------------+--------------------------+--------------------------+
| 3.0.0-M6 or higher | Java 8 | 52 |
*---------------------------------------------+--------------------------+--------------------------+
| 3.0.0-M5 and lower | Java 7 | 51 |
*---------------------------------------------+--------------------------+--------------------------+
| To Be Completed | Java 6 | 50 |
*---------------------------------------------+--------------------------+--------------------------+
*---------------------------------------------+---------------------------+-------------------------+
|| <<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 |
*---------------------------------------------+---------------------------+-------------------------+

If you try to use smaller version than minimal supported one, you should face something like:
If you try to use an older version than minimal supported one, you should face something like:

+---+
Exception in thread "main" java.lang.UnsupportedClassVersionError: org/apache/maven/surefire/booter/ForkedBooter : Unsupported major.minor version 52.0
Expand Down

0 comments on commit 706032a

Please sign in to comment.