From dd707721590b20443cb5aa2395cc736919d18b42 Mon Sep 17 00:00:00 2001 From: "Pabst, Andreas" Date: Thu, 29 Dec 2022 18:27:56 +0100 Subject: [PATCH] [SUREFIRE-2138] Update JUnit4/JUnit5 versions in docs Update JUnit versions referenced in configuration examples to 4.13.2 and 5.9.1, the respective latest versions --- .../src/site/apt/examples/jpms.apt.vm | 4 +- .../site/apt/examples/junit-platform.apt.vm | 52 +++++++++---------- .../src/site/apt/examples/junit.apt.vm | 2 +- .../src/site/apt/examples/spock.apt.vm | 4 +- .../src/site/apt/examples/testng.apt.vm | 2 +- .../src/site/markdown/docker.md | 2 +- 6 files changed, 33 insertions(+), 33 deletions(-) diff --git a/maven-surefire-plugin/src/site/apt/examples/jpms.apt.vm b/maven-surefire-plugin/src/site/apt/examples/jpms.apt.vm index ce98981b7b..f3727a3a64 100644 --- a/maven-surefire-plugin/src/site/apt/examples/jpms.apt.vm +++ b/maven-surefire-plugin/src/site/apt/examples/jpms.apt.vm @@ -108,7 +108,7 @@ module test junit junit - 4.13 + 4.13.2 test @@ -154,7 +154,7 @@ module test demonstrating the Java Modularity (JPMS) in Maven multi-module project. The JDK version must be 9 or higher. The POM contains the dependency - <<>> which is named module. It activates the internal provider + <<>> which is named module. It activates the internal provider <<>> in the plugin. +---+ diff --git a/maven-surefire-plugin/src/site/apt/examples/junit-platform.apt.vm b/maven-surefire-plugin/src/site/apt/examples/junit-platform.apt.vm index 26e5f1b1c3..7e75af80c3 100644 --- a/maven-surefire-plugin/src/site/apt/examples/junit-platform.apt.vm +++ b/maven-surefire-plugin/src/site/apt/examples/junit-platform.apt.vm @@ -40,7 +40,7 @@ Using JUnit 5 Platform org.junit.jupiter junit-jupiter-engine - 5.4.0 + 5.9.1 test [...] @@ -55,7 +55,7 @@ Using JUnit 5 Platform (e.g., <<>>). If you want to write and execute JUnit 3 or 4 tests via the JUnit Platform add the Vintage Engine to the - dependencies, which transitively pulls in (and requires) <<>>: + dependencies, which transitively pulls in (and requires) <<>>: +---+ @@ -63,7 +63,7 @@ Using JUnit 5 Platform org.junit.vintage junit-vintage-engine - 5.4.0 + 5.9.1 test [...] @@ -85,7 +85,7 @@ Using JUnit 5 Platform ** How to run only one API - Normally, the developer does not want to access internal classes of JUnit5 engine (e.g. <<<5.4.0>>>). + Normally, the developer does not want to access internal classes of JUnit5 engine (e.g. <<<5.9.1>>>). In the next chapters you can find your way to use the Jupiter or JUnit5 API where the plugin would resolve the engine. *** Jupiter API in test dependencies @@ -100,7 +100,7 @@ Using JUnit 5 Platform org.junit.jupiter junit-jupiter-api - 5.4.0 + 5.9.1 test [...] @@ -125,7 +125,7 @@ Using JUnit 5 Platform In the following example the engine artifact appears in plugin dependencies and the engine is resolved by the plugin and downloaded from a remote repository for plugins. You may want to update the version of engine with fixed bugs in - <<<5.3.2>>> but the API version <<<5.3.0>>> stays intact! + <<<5.9.1>>> but the API version <<<5.9.0>>> stays intact! +---+ @@ -133,7 +133,7 @@ Using JUnit 5 Platform org.junit.jupiter junit-jupiter-api - 5.3.0 + 5.9.0 test [...] @@ -150,7 +150,7 @@ Using JUnit 5 Platform org.junit.jupiter junit-jupiter-engine - 5.3.2 + 5.9.1 @@ -172,7 +172,7 @@ Using JUnit 5 Platform junit junit - 4.13 + 4.13.2 test [...] @@ -189,7 +189,7 @@ Using JUnit 5 Platform org.junit.vintage junit-vintage-engine - 5.4.0 + 5.9.1 @@ -212,13 +212,13 @@ Using JUnit 5 Platform org.junit.jupiter junit-jupiter-api - 5.6.2 + 5.9.1 test junit junit - 4.13 + 4.13.2 test @@ -231,13 +231,13 @@ Using JUnit 5 Platform org.junit.jupiter junit-jupiter-api - 5.6.2 + 5.9.1 test org.junit.vintage junit-vintage-engine - 5.6.2 + 5.9.1 test @@ -250,13 +250,13 @@ Using JUnit 5 Platform org.junit.jupiter junit-jupiter-engine - 5.6.2 + 5.9.1 test org.junit.vintage junit-vintage-engine - 5.6.2 + 5.9.1 test @@ -277,13 +277,13 @@ Using JUnit 5 Platform org.junit.jupiter junit-jupiter-api - 5.6.2 + 5.9.1 test junit junit - 4.13 + 4.13.2 test @@ -299,7 +299,7 @@ Using JUnit 5 Platform org.junit.jupiter junit-jupiter-engine - 5.6.2 + 5.9.1 @@ -318,13 +318,13 @@ Using JUnit 5 Platform org.junit.jupiter junit-jupiter-api - 5.6.2 + 5.9.1 test junit junit - 4.13 + 4.13.2 test @@ -340,7 +340,7 @@ Using JUnit 5 Platform org.junit.vintage junit-vintage-engine - 5.6.2 + 5.9.1 @@ -390,13 +390,13 @@ Using JUnit 5 Platform org.junit.jupiter junit-jupiter-engine - 5.6.2 + 5.9.1 test org.junit.platform junit-platform-runner - 1.6.2 + 1.9.1 test @@ -413,13 +413,13 @@ Using JUnit 5 Platform org.junit.jupiter junit-jupiter-engine - 5.8.2 + 5.9.1 test org.junit.platform junit-platform-suite-engine - 1.8.2 + 1.9.1 test diff --git a/maven-surefire-plugin/src/site/apt/examples/junit.apt.vm b/maven-surefire-plugin/src/site/apt/examples/junit.apt.vm index 4352e1cdd2..e6788074f9 100644 --- a/maven-surefire-plugin/src/site/apt/examples/junit.apt.vm +++ b/maven-surefire-plugin/src/site/apt/examples/junit.apt.vm @@ -38,7 +38,7 @@ Using JUnit junit junit - 4.11 + 4.13.2 test [...] diff --git a/maven-surefire-plugin/src/site/apt/examples/spock.apt.vm b/maven-surefire-plugin/src/site/apt/examples/spock.apt.vm index 09e6b2c286..dca2ca1566 100644 --- a/maven-surefire-plugin/src/site/apt/examples/spock.apt.vm +++ b/maven-surefire-plugin/src/site/apt/examples/spock.apt.vm @@ -82,7 +82,7 @@ class CalculatorTest extends Specification org.junit.jupiter junit-jupiter-engine - 5.6.2 + 5.9.1 test [...] @@ -140,7 +140,7 @@ class CalculatorTest extends Specification org.junit.jupiter junit-jupiter-engine - 5.6.2 + 5.9.1 test [...] diff --git a/maven-surefire-plugin/src/site/apt/examples/testng.apt.vm b/maven-surefire-plugin/src/site/apt/examples/testng.apt.vm index 5b895bb238..e974272543 100644 --- a/maven-surefire-plugin/src/site/apt/examples/testng.apt.vm +++ b/maven-surefire-plugin/src/site/apt/examples/testng.apt.vm @@ -446,7 +446,7 @@ Using TestNG junit junit - 4.10 + 4.13.2 test [...] diff --git a/maven-surefire-plugin/src/site/markdown/docker.md b/maven-surefire-plugin/src/site/markdown/docker.md index cb2fa06ef9..b7235b2672 100644 --- a/maven-surefire-plugin/src/site/markdown/docker.md +++ b/maven-surefire-plugin/src/site/markdown/docker.md @@ -80,7 +80,7 @@ The `pom.xml`: junit junit - 4.13 + 4.13.2