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 2020/10/13 02:01:37 UTC

[maven-surefire] branch master updated: [SUREFIRE-1853] Clarify useModulePath documentation

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

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


The following commit(s) were added to refs/heads/master by this push:
     new 4ded070  [SUREFIRE-1853] Clarify useModulePath documentation
4ded070 is described below

commit 4ded070ea82076441120ff1cf0baaae7f4a47554
Author: Gili Tzabari <co...@gmail.com>
AuthorDate: Mon Oct 12 22:01:25 2020 -0400

    [SUREFIRE-1853] Clarify useModulePath documentation
---
 .../org/apache/maven/plugin/failsafe/IntegrationTestMojo.java  |  8 ++++----
 .../java/org/apache/maven/plugin/surefire/SurefirePlugin.java  | 10 +++++-----
 2 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/maven-failsafe-plugin/src/main/java/org/apache/maven/plugin/failsafe/IntegrationTestMojo.java b/maven-failsafe-plugin/src/main/java/org/apache/maven/plugin/failsafe/IntegrationTestMojo.java
index d77b3cf..2a207c8 100644
--- a/maven-failsafe-plugin/src/main/java/org/apache/maven/plugin/failsafe/IntegrationTestMojo.java
+++ b/maven-failsafe-plugin/src/main/java/org/apache/maven/plugin/failsafe/IntegrationTestMojo.java
@@ -318,7 +318,7 @@ public class IntegrationTestMojo
      * outputted (search for "To reproduce ordering use flag -Dfailsafe.runOrder.random.seed").
      * <br>
      * <br>
-     * To deterministically reproduce any random test order that was run before, simply set the seed to 
+     * To deterministically reproduce any random test order that was run before, simply set the seed to
      * be the same value.
      *
      * @since 3.0.0-M6
@@ -391,10 +391,10 @@ public class IntegrationTestMojo
     private String shutdown;
 
     /**
-     * Disables modular path (aka Jigsaw project since of Java 9) even if <i>module-info.java</i> is used in project.
+     * When {@code true}, uses the modulepath when executing with JDK 9+ and <i>module-info.java</i> is
+     * present. When {@code false}, always uses the classpath.
      * <br>
-     * Enabled by default.
-     * If enabled, <i>module-info.java</i> exists and executes with JDK 9+, modular path is used.
+     * Defaults to {@code true}.
      *
      * @since 3.0.0-M2
      */
diff --git a/maven-surefire-plugin/src/main/java/org/apache/maven/plugin/surefire/SurefirePlugin.java b/maven-surefire-plugin/src/main/java/org/apache/maven/plugin/surefire/SurefirePlugin.java
index 34ed33c..cd260c1 100644
--- a/maven-surefire-plugin/src/main/java/org/apache/maven/plugin/surefire/SurefirePlugin.java
+++ b/maven-surefire-plugin/src/main/java/org/apache/maven/plugin/surefire/SurefirePlugin.java
@@ -300,7 +300,7 @@ public class SurefirePlugin
      * outputted (search for "To reproduce ordering use flag -Dsurefire.runOrder.random.seed").
      * <br>
      * <br>
-     * To deterministically reproduce any random test order that was run before, simply set the seed to 
+     * To deterministically reproduce any random test order that was run before, simply set the seed to
      * be the same value.
      *
      * @since 3.0.0-M6
@@ -371,10 +371,10 @@ public class SurefirePlugin
     private String shutdown;
 
     /**
-     * Disables modular path (aka Jigsaw project since of Java 9) even if <i>module-info.java</i> is used in project.
+     * When {@code true}, uses the modulepath when executing with JDK 9+ and <i>module-info.java</i> is
+     * present. When {@code false}, always uses the classpath.
      * <br>
-     * Enabled by default.
-     * If enabled, <i>module-info.java</i> exists and executes with JDK 9+, modular path is used.
+     * Defaults to {@code true}.
      *
      * @since 3.0.0-M2
      */
@@ -492,7 +492,7 @@ public class SurefirePlugin
     {
         return "https://maven.apache.org/surefire/maven-surefire-plugin/xsd/surefire-test-report-3.0.xsd";
     }
-    
+
 
     public File getSystemPropertiesFile()
     {