You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by ti...@apache.org on 2022/03/05 21:21:28 UTC

[maven-surefire] branch platform-runner-suite updated: according to Slawomir's hints

This is an automated email from the ASF dual-hosted git repository.

tibordigana pushed a commit to branch platform-runner-suite
in repository https://gitbox.apache.org/repos/asf/maven-surefire.git


The following commit(s) were added to refs/heads/platform-runner-suite by this push:
     new fe95deb  according to Slawomir's hints
fe95deb is described below

commit fe95deb329f0258a096c575aa22d02f06ebcef42
Author: tibordigana <ti...@apache.org>
AuthorDate: Sat Mar 5 22:21:19 2022 +0100

    according to Slawomir's hints
---
 .../src/site/apt/examples/junit-platform.apt.vm      | 20 ++++----------------
 .../maven/surefire/its/JUnitPlatformEnginesIT.java   |  5 -----
 2 files changed, 4 insertions(+), 21 deletions(-)

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 d4e1317..bef651a 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
@@ -420,14 +420,14 @@ Using JUnit 5 Platform
 <dependencies>
     <dependency>
         <groupId>org.junit.jupiter</groupId>
-        <artifactId>junit-jupiter-api</artifactId>
-        <version>5.8.0</version>
+        <artifactId>junit-jupiter-engine</artifactId>
+        <version>5.8.2</version>
         <scope>test</scope>
     </dependency>
     <dependency>
         <groupId>org.junit.platform</groupId>
-        <artifactId>junit-platform-suite-api</artifactId>
-        <version>1.8.0</version>
+        <artifactId>junit-platform-suite-engine</artifactId>
+        <version>1.8.2</version>
         <scope>test</scope>
     </dependency>
 </dependencies>
@@ -441,18 +441,6 @@ Using JUnit 5 Platform
                     <include>JUnit5Tests</include>
                 </includes>
             </configuration>
-            <dependencies>
-                <dependency>
-                    <groupId>org.junit.jupiter</groupId>
-                    <artifactId>junit-jupiter-engine</artifactId>
-                    <version>5.8.2</version>
-                </dependency>
-                <dependency>
-                    <groupId>org.junit.platform</groupId>
-                    <artifactId>junit-platform-suite-engine</artifactId>
-                    <version>1.8.2</version>
-                </dependency>
-            </dependencies>
         </plugin>
     </plugins>
 </build>
diff --git a/surefire-its/src/test/java/org/apache/maven/surefire/its/JUnitPlatformEnginesIT.java b/surefire-its/src/test/java/org/apache/maven/surefire/its/JUnitPlatformEnginesIT.java
index c176862..ffebb8c 100644
--- a/surefire-its/src/test/java/org/apache/maven/surefire/its/JUnitPlatformEnginesIT.java
+++ b/surefire-its/src/test/java/org/apache/maven/surefire/its/JUnitPlatformEnginesIT.java
@@ -77,13 +77,8 @@ public class JUnitPlatformEnginesIT extends SurefireJUnit4IntegrationTestCase
     {
         ArrayList<Object[]> args = new ArrayList<>();
         args.add( new Object[] {"1.0.3", "5.0.3", "1.0.0", "1.0.0"} );
-        //args.add( new Object[] {"1.1.1", "5.1.1", "1.0.0", "1.0.0"} );
-        //args.add( new Object[] {"1.2.0", "5.2.0", "1.1.0", "1.0.0"} );
         args.add( new Object[] {"1.3.2", "5.3.2", "1.1.1", "1.0.0"} );
-        //args.add( new Object[] {"1.4.2", "5.4.2", "1.1.1", "1.0.0"} );
-        //args.add( new Object[] {"1.5.2", "5.5.2", "1.2.0", "1.1.0"} );
         args.add( new Object[] {"1.6.2", "5.6.2", "1.2.0", "1.1.0"} );
-        //args.add( new Object[] {"1.7.2", "5.7.2", "1.2.0", "1.1.0"} );
         args.add( new Object[] {"1.8.2", "5.8.2", "1.2.0", "1.1.2"} );
         return args;
     }