diff --git a/maven-surefire-common/src/main/java/org/apache/maven/plugin/surefire/AbstractSurefireMojo.java b/maven-surefire-common/src/main/java/org/apache/maven/plugin/surefire/AbstractSurefireMojo.java index f158c68d1a..664121d04b 100644 --- a/maven-surefire-common/src/main/java/org/apache/maven/plugin/surefire/AbstractSurefireMojo.java +++ b/maven-surefire-common/src/main/java/org/apache/maven/plugin/surefire/AbstractSurefireMojo.java @@ -329,9 +329,23 @@ public abstract class AbstractSurefireMojo extends AbstractMojo implements Suref private Map systemPropertyVariables; /** - * List of properties for configuring all TestNG related configurations. This is the new preferred method of - * configuring TestNG. - * + * List of properties for configuring the testing provider. This is the preferred method of + * configuring TestNG and JUnit platform providers.

+ * JUnit platform properties may be defined in a {@code configurationParameters} element: + *
{@literal }
+     *     {@literal }
+     *         junit.jupiter.execution.parallel.enabled = true
+     *         junit.jupiter.execution.parallel.mode.default = concurrent
+     *     {@literal }
+     * {@literal }
+ *
+ * TestNG properties may be defined as distinct element blocks: + *
{@literal }
+     *     {@literal }
+     *         {@literal parallel}
+     *         {@literal methods}
+     *     {@literal }
+     * {@literal }
* @since 2.4 */ @Parameter