Skip to content

Commit 98b1c3c

Browse files
dpolivaevsbrannen
authored andcommitted
Document required maven-failsafe-plugin version in User Guide
Issue: #1764
1 parent 154ff89 commit 98b1c3c

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

documentation/src/docs/asciidoc/user-guide/running-tests.adoc

+9-1
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ native support instead.
240240
====
241241

242242
Starting with https://issues.apache.org/jira/browse/SUREFIRE-1330[version 2.22.0], Maven
243-
Surefire provides
243+
Surefire and Maven Failsafe provide
244244
http://maven.apache.org/surefire/maven-surefire-plugin/examples/junit-platform.html[native support]
245245
for executing tests on the JUnit Platform. The `pom.xml` file in the
246246
`{junit5-jupiter-starter-maven}` project demonstrates how to use it and can serve as a
@@ -265,6 +265,10 @@ following.
265265
<artifactId>maven-surefire-plugin</artifactId>
266266
<version>{surefire-version}</version>
267267
</plugin>
268+
<plugin>
269+
<artifactId>maven-failsafe-plugin</artifactId>
270+
<version>{surefire-version}</version>
271+
</plugin>
268272
</plugins>
269273
</build>
270274
...
@@ -301,6 +305,10 @@ implementation similar to the following.
301305
<artifactId>maven-surefire-plugin</artifactId>
302306
<version>{surefire-version}</version>
303307
</plugin>
308+
<plugin>
309+
<artifactId>maven-failsafe-plugin</artifactId>
310+
<version>{surefire-version}</version>
311+
</plugin>
304312
</plugins>
305313
</build>
306314
...

0 commit comments

Comments
 (0)