Skip to content

Commit

Permalink
Fix more review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
sbernard31 committed Dec 13, 2023
1 parent 706032a commit 5b4dccb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions maven-surefire-plugin/src/site/apt/examples/toolchains.apt.vm
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ 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
* Minimal Java Version for Toolchains

Unfortunately, the minimum version of Java that can be used as a toolchain is limited by the Surefire Booter requirement.

Expand All @@ -66,10 +66,10 @@ Using Maven Toolchains with ${thisPlugin}.
*---------------------------------------------+---------------------------+-------------------------+
| 3.0.0-M5 and lower | Java 7 | 51 |
*---------------------------------------------+---------------------------+-------------------------+
| To Be Completed | Java 6 | 50 |
| lower than 3.0.0-M1 | Java 6 | 50 |
*---------------------------------------------+---------------------------+-------------------------+

If you try to use an older version than minimal supported one, you should face something like:
If you try to use a version older than the minimum supported version, 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 5b4dccb

Please sign in to comment.